Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

8
  • What do you mean by "launch it directly"? What in the world are you trying to accomplish that native rendering does not handle?? Perhaps adding your template contents would help. Commented Feb 19, 2014 at 13:53
  • Thanks @benmarks I just put the important part of the code so you understand a bit more what I'm doing. It's on a Admin Widget Form. Commented Feb 19, 2014 at 16:10
  • From your question a $this->getLayout()->createBlock('module/block')->toHtml(); should work, why is this no proper solution? Commented Feb 19, 2014 at 16:18
  • Not really because I will have to do echo $this->getLayout()->createBlock('module/block')->toHtml(); so it will just put the same problem to the other block... Commented Feb 19, 2014 at 16:21
  • But all this is just to have a clean code, I can leave it like it is it works, but I hate leaving messy code like this I feel bad... Commented Feb 19, 2014 at 16:23