hello everyone,
I've just startet to use typolight and and I'm very pleased so far!
But right now, I'm struggling with the following problem:
I've a main-navigation module (only 1 level). The last navigation item (if it's active) has the class "active" (the[*] tag), that's fine so far. But now, there is a second module (plain html - only a few div tags) right beneath the navigation module, which needs a class as well (only if the last navigation item is active).
For example:
In this example the div container "headerTop" has the class "last" if the last nav item is active.Code:<ul>[*]Nav Item 1[*]Nav Item 2 <li class="active">Nav Item 3[/list] <div id="header"> <div id="headerTop" class="last"></div> <div id="headerContent"></div> <div id="headerBottom"></div> </div>
It's important to split this modules, I don't want to add the whole markup to the same module.
Is there a way how to do this?
By the way, is it possible to insert a whole module by using insert-tags (like "{{module_x}}")? I want to add the random picture module into my header module (which is plain html).
Thanks in advance,
Flurin


Reply With Quote

Bookmarks