> I do not understand the problem.
The problem is that normally I have my menu definitions in menu.py which is
executed before any function in any controller. However, this menu is part
of a site controller which is completely nodeID driven, which means that
every function first checks if the nodeID in request.args matches the one
in session.nodeID, if not the function redirects to a function which gets
all the node in request.args settings and calls a function called menu
which generates a menu in session.menu. Since the menu is in a function it
doesn't get updated on every request, which is why it loses the correct
_active setting.
> You want to replay
>
> <li {{if _active:}} class="active" {{pass}}>
>
> with what? You can do simply
>
> <li>
>
> if you do not care about class="active"
>
That would be sort of a last resort, no class="active" instead of Home
always being the "active" menu item.
Kind regards,
Annet.