[Radiant] Navigation tag and the home page / root
Sean Cribbs
seancribbs at gmail.com
Tue Sep 11 08:55:43 CDT 2007
You don't have to use the <r:navigation> tag for everything. Instead
you could do something like this:
<a href="/" <r:if_url matches="^/$">class="active"</r:if_url>>Home</a>
That will highlight the link with the active class only if the homepage
is shown.
Sean
Chris Dwan wrote:
> I have a site I'm working on with four main sections. The client
> wants 'section one' to be the 'home page'.
> The problem: that makes 'section one' the parent of every page on the
> site, and causes that tab to be always highlighted.
>
> Has anyone else come up with a solution to this problem?
>
> I'm wondering if mod_rewrite is the only option...
>
> -Chris
>
>
> _______________________________________________
> Radiant mailing list
> Post: Radiant at lists.radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site: http://lists.radiantcms.org/mailman/listinfo/radiant
>
>
More information about the Radiant
mailing list