Sharing some useful tips, solutions and notes for Geeks.

Tuesday, October 31, 2017

Passing custom variable or data from cms page to a phtml file

Like the setData mentioned in this link: setData, we can pass variable or data from cms page also.

{{block type="yourmod/testblock" catid=10 template="module/yourmod/testblock.phtml"}}


kudos

No comments: