I cant find how to create {menu} which display only 4 items from long menu nodes.
Soo i have menu using
Code: Select all
{menu template="travels_cards_home_1" start_element="1.3.1" show_root_siblings="1"}
Please help.
Cheers
Code: Select all
{menu template="travels_cards_home_1" start_element="1.3.1" show_root_siblings="1"}
Code: Select all
{$nodelist=$nodelist|@array_slice:0:4}
Code: Select all
node->hierarchy < 4
From the module-help:requish wrote:"Show in menu" it is some solution, but how show all nodes in other subpage? Im want only 4 nodes at home, all entries on subpage.
Don't ask me to look back to old versions. You can read my code as a hint and find out for yourself how to accomplish in Smarty2. Here's the documentation: http://www.smarty.net/docsv2/en/requish wrote:Im using 1.10.3 of CMSMS, Im dont use 1.11 becouse supersizer dont work there, and much more modules.
Chances are that some of them never willrequish wrote:I'll use 1.11 in future - its sure, but first all modules,plugins have to works in it.