Thank you all,
Teb was right, it was hardcoded in the theme.
I now understand the concept is to use a conditional
PHP statement (by looking at the different
CSS websites and
BlankTheme and Videokids' code example).
I also tried Videokids' code example wich worked out pretty well as far as the first tab is concerned:
<!--[if $module == "Pages"]--><li class="current"><!--[/if]-->
It would highlight, but it didn't seem quite finished yet, so I added :
<!--[if $module <> "News"]--><li><!--[/if]-->
So now the first Tab works, it highlights when the News module is detected.
The next tab however, will not highlight. Using videokids' code example:
<!--[if $module == "Content"]--><li id="current"><!--[/if]--><!--[if $module <> "Content"]--><li><!--[/if]-->
What happens is, that when the page is visited, the Tab doesn't highlight.
If I use:
<!--[pnvarcleanfrominput name=id assign=pid]-->
<!--[if $module == "Content" && $pid == "2"]--><li class="current"><!--[/if]--><!--[if $module <> "Content" or cid <> "2"]--><li><!--[/if]--><a href="module-Content-view-pid-3.htm"><span><sup>voor de</sup> Ouders<!--$module--></span></a></li>
The second Tab doesn't highlight...
Apprarently when the adress bar has
http://www.pleiaden.nl/index.php?module=Content&func=view&pid=2
The condition $module="Content" is not met?
Neither the condition $pid="2" is met....
Is pnvarcleanfrominput not working as it should?
(running Zikula 1.22)
I appreciate your help,
G.C.
edited by: g.c., datetimebrief