creating a home link on topmenu

Author Message

Matt Brady

Monday 12 February 2007 5:04:37 pm

I'm trying to find a simple way to create the home link on the top menu that will work with the "selected" css.

At present I've just changed the flat_top.tpl to include:

<li ><div class="spacing"><a href={$node.url_alias|ezurl(2)}>home</a></div></li>

which is probably the wrong way to do it but works... except that when on the home page the selected css doesn't display.

It's not easy being easy.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.