Loading...
 
Features / Usability

Features / Usability


Re: assign one module to multiple pages

posts: 3665 United States

You could create a single module, then use a bunch of if statements to control which menu appears:

Copy to clipboard
{if $page eq 'Some Page'} {menu id=43} {elseif $page eq 'Another Page'} {menu id=44} {elseif $page eq 'Yet Another Page'} {menu id=45} {else} {menu id=46} {/if}


Might be tedious if you have lots and lots of menus. I'm not sure of a way to do it neater. :-(

HTH,

-Rick
Need more help? Try TikiWiki for Dummies Smarties or read my Tiki Blog

There are no comments at this time.

Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting