State the syntax to call a cms page in your module's phtml file.
Answer Posted / Indira Kumari
To call a CMS page in your module's phtml file, you can use: echo $block->getLayout()->createBlock('CmsBlockPage')->setId('your_cms_page_id')->toHtml();
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers