Loading...
 
Themes

Themes


Re: Turn off right/left modules per page

Japan

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


There are no comments at this time.