Quick Help

Knowledgebase is a categorized collection of answers to frequently asked questions (FAQ) and articles. You can read articles in this category or select a subcategory that you are interested in.



 How to insert Magezon Ninja Menu into theme using code?

Solution

How to insert Magezon Ninja Menu into theme using code?

Use this line for insert into theme code:

{{block class="Magezon\NinjaMenus\Block\Menu" identifier="YOUR_MENU_IDENTIFIER"}}

in php:

 

<?php echo $this->getLayout()

->createBlock('Magezon\NinjaMenus\Block\Menu')

->setIdentifier('test1')

->toHtml();

?>

 

 
Was this article helpful? yes / no

 
Powered by Help Desk Software HESK, in partnership with SysAid Technologies