Loading...
 
Skip to main content

Features / Usability


different page / different menu

Is it possible to change the menu module in the lhs column when you change page?

> Is it possible to change the menu module in the lhs column when you change page?

Not change modules, but put logic in one module to show different menus depending on the page. I think you can do something like this (roughly based on the left-column PHP Layers menu module at themes.tw.oQuestion):

Copy to clipboard
{if $page eq "PageOne"} {menu id=45} {elseif $page eq "PageTwo"} {phplayers id=43 type=vert} {else} {menu id=46} {/if}

-- Gary

That would work, thanks.

Following on from this is there a page that lists all the variables eg. page and what they relate to?

Many thanks
-- Bill