Hi,
I'm trying to figure out how to remove the link for a NAV item.
I've read this thread:
http://forum.getfuelcms.com/discussion/845/help-building-top-menu/p1and attempted using pre_render_fun, but that doesn't seem to do anything to the final string at all.
I also read this thread:
http://forum.getfuelcms.com/?p=discussion/591/how-to-add-an-dumb-menu-item/p1But neither of them seems to work, though the 2nd one gets closer, by suggesting editing the menu.php file directly, which I'd rather not due to updating later.
Basically, I want my normal NAV items:
<li><a href="home">Home</a></li>
<li><a href="contact">Contact</a></li>
etc, but then I want one item as an li at the end like:
<li>this is additional info. Call this #<a href="tel:123-456-7890">123-456-7890</a></li>
It shows up properly in the Nav, but wraps the last li with
How can I do this simply? I've attempted setting "key" to "blank" and "Location" to "/" but that didn't do anything either.
Thanks,
Chris.
Comments
this is additional info. Call this #<a href="tel:123-456-7890">123-456-7890</a>
label: <br>this is additional info. <br><span>More</span><br>Call this #<a href="tel:123-456-7890">123-456-7890</a> location: / key: blank parent: none published: yes precedence: 5 attributes: selected: hidden: no
<ul> <li><a href="home">Home</a></li> <li><a href="contact">Contact</a></li> <li><a href="http://site.com/"><br>this is additional info. <br><span>More</span><br>Call this #<a href="tel:123-456-7890">123-456-7890</a></a></li> </ul>
https://github.com/daylightstudio/FUEL-CMS/commit/db01e8cae142bcc059395435cfa59cbbcc1c7d1f
Thanks!