excludeprefix and includeprefix
Posted: Wed Oct 26, 2011 8:04 am
Dont know if this is the right place to answer, please move it to the according one if not.
Well i have a site with 3 menus. Each of the menus has children.
The only way i managed to make it work is using the excludeprefix like below:
My problem though is that this means that everytime i add a new link i will have to go manually and edit all my templates. All of my menus have children therefore i need something that will only show some items with their children
I tried using includeprefix to show only what i wanted, but it does not show children.
What is the way to go for this?
Thanks in advance
Well i have a site with 3 menus. Each of the menus has children.
The only way i managed to make it work is using the excludeprefix like below:
Code: Select all
{menu template="CSSMENU_DEFAULT_HORIZONTAL" start_level="2" excludeprefix="diethneis_sxeseis,ekdilwseis,koinwniki_allilegii,
announcements,useful_links,members_area"}
{menu template="CSSMENU_DEFAULT_HORIZONTAL_2" start_level="2" excludeprefix="o_tektonismos,megali_stoa,diethneis_sxeseis,ekdilwseis,
koinwniki_allilegii,announcements,useful_links,contact,register"}
{menu template="CSSMENU_DEFAULT_VERTICAL" start_level="2" excludeprefix="o_tektonismos,megali_stoa,contact,
members_area,register"}
I tried using includeprefix to show only what i wanted, but it does not show children.
What is the way to go for this?
Thanks in advance