Magento News

 

How to load the layout at runtime in Magento?

I know that we can design the layout in *.xml then in the action just invoke loadLayout, and renderLayout to render the blocks/views.

But, I have a question is:

- How can I load the layout at runtime?

If we have an action which does not really design its layout and will be decided how to render at runtime.

You can please consider the answer from the question for more clear.

How to load the layout at runtime in Magento?

Possibly Related Posts:


 

Leave a Reply