Just joined the list. Let me first say what a great app Radiant seems
to be. Good job.
I’m using the following navigation tag snippet:
The problem is that “home” is always being classified as ‘here’. All
other urls work properly.
Do I have the syntax wrong?
Thanks,
Steve
Steve O. wrote:
The problem is that “home” is always being classified as ‘here’. All
other urls work properly.
Do I have the syntax wrong?
No. This is a limitation of the navigation tag. You can work around the
problem by using a set of navigation tags:
<r:navigation urls=“home: /”>
<r:normal>
<r:title /></r:normal>
<r:here>
<r:title /></r:here>
<r:selected>
<r:title
/></r:selected>
<r:between></r:between>
</r:navigation>
<r:navigation urls="learn: /learn/; news: /news/; join: /
join/; about: /about/">
<r:normal>
<r:title /></r:normal>
<r:here><r:title /></r:here>
<r:selected><r:title /></r:selected>
<r:between></r:between>
</r:navigation>
Way too verbose, I know. If someone has a better idea for a set of tags
for this let me know.
–
John L.
http://wiseheartdesign.com
Way too verbose, I know. If someone has a better idea for a set of
tags
for this let me know.
Don’t know if it’s any better, but I use if_url and unless_url for
the home page link:
<r:navigation urls="Products: /products/; Services: /services/;
Contact Us: /contact-us/;">
<r:normal>
<r:title /></r:normal>
<r:here>
<r:title /></r:here>
<r:selected>
<r:title /
</r:selected>
</r:navigation>