Loading...
 
Skip to main content

Features / Usability


Re: Menu Subsections

posts: 24

Hi Glade,

I don't work with categories so this might not work for you. First of all, if the main page is the only page that behaves different from the other pages, then simply do your conditionals on

if ($categorypath == '')
{
...
}

this is PHP, not sure in TikiWiki/Smarty.

Anyway, I bypass the Smarty engine wherever I can (I'm too lazy to get to grips with it and I know my PHP a lot better). If the category you are after is passed in the URL, then you can easily retrieve it with $_GET. Remember, PHP blocks go between (PHP} and {/PHP} tags. Between them you can put raw PHP.

Hope that helps a little.

Regards,
WillemB

There are no comments at this time.