# Navigation tag help

**URL:** <https://www.ruby-forum.com/t/navigation-tag-help/73732>\
**Category:** Radiant CMS\
**Created:** [October 26, 2006, 6:44pm UTC](https://www.ruby-forum.com/t/navigation-tag-help/73732 "2006-10-26T18:44:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![steveoco](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/db5fbb/32.png) [@steveoco](https://www.ruby-forum.com/u/steveoco)\
**Post date:** [October 26, 2006, 6:44pm UTC](https://www.ruby-forum.com/t/navigation-tag-help/73732/1 "2006-10-26T18:44:20Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![steveoco](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/db5fbb/32.png) [@steveoco](https://www.ruby-forum.com/u/steveoco)\
**Post date:** [October 26, 2006, 6:56pm UTC](https://www.ruby-forum.com/t/navigation-tag-help/73732/2 "2006-10-26T18:56:22Z")

</div>

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](http://wiseheartdesign.com)

---

<div class="post-metadata">

**Author:** ![steveoco](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/db5fbb/32.png) [@steveoco](https://www.ruby-forum.com/u/steveoco)\
**Post date:** [October 26, 2006, 7:04pm UTC](https://www.ruby-forum.com/t/navigation-tag-help/73732/3 "2006-10-26T19:04:22Z")

</div>

thanks, John.

---

<div class="post-metadata">

**Author:** ![steveoco](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/db5fbb/32.png) [@steveoco](https://www.ruby-forum.com/u/steveoco)\
**Post date:** [October 26, 2006, 7:14pm UTC](https://www.ruby-forum.com/t/navigation-tag-help/73732/4 "2006-10-26T19:14:23Z")

</div>

> 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:

- Home
- Home

```
<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\>
- Sean
