Loading...
 
Themes

Themes


Re: Re: Turn off right/left modules per page

> There isn't a simple admin configuration option for this, for individual wiki pages. But it can be done a few different ways (for column visibility; not sure offhand about specific modules) by editing files.
>
> The simplest way is probably to edit tiki.tpl (around line 31 in the default file) to add a conditional statement if $page ne 'Home' ("and if the page isn't Home") something like this:
>

>
Copy to clipboard
> {if $feature_left_column ne 'n' and if $page ne 'Home'} > <td id="leftcolumn" valign="top"> > ... >

>
> If there are more pages, which would make the statement more complex, it might be better to use another method, such as making a new category and adding the pages to it, then making a new style that mostly duplicates the original but has a "display:none" for the selector of the column you don't want to show. This new theme is then assigned to the new category using Theme Control.
>
> — Gary
>

Could this if statement be phrased to take all pages with Home as the suffix so that my group home pages could end with Home and all have their columns turned off by this one line?


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