Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#97 2009-03-09 11:48:18

rathersplendid
Plugin Author
From: London
Registered: 2008-05-02
Posts: 163
Website

Re: [plugin] [ORPHAN] ako_nav

I love this plugin, I’ve used it on a number of projects and it does exactly what I want without any fuss or problems, until now…

I’ve got a fairly simple menu, with this plugin code:

<txp:ako_nav name="Home,Drama,Doc/Drama,Commercials,Equipment,CV,Contact" url="/,/drama,/docdrama,/commercials,/equipment,/cv,/contact" ulid="nav" divon="0" headon="0" curlink="1" classtag="1" title="Home,Drama,Doc,Commercials,Equipment,CV,Contact"/>

which works absolutely fine on all pages, except the Doc/Drama page where it produces two active classes on the Drama item and the Doc/Drama item; all other pages are fine.

Here’s the output:

<ul id="nav">
<li><a href="http://localhost:8888/gman/" title="Home" accesskey="1">Home</a></li>
<li class="active"><a href="http://localhost:8888/gman/drama" title="Drama" accesskey="2">Drama</a></li>
<li class="active"><a href="http://localhost:8888/gman/docdrama" title="Doc" accesskey="3">Doc/Drama</a></li>
<li><a href="http://localhost:8888/gman/commercials" title="Commercials" accesskey="4">Commercials</a></li>
<li><a href="http://localhost:8888/gman/equipment" title="Equipment" accesskey="5">Equipment</a></li>
<li><a href="http://localhost:8888/gman/cv" title="CV" accesskey="6">CV</a></li>
<li><a href="http://localhost:8888/gman/contact" title="Contact" accesskey="7">Contact</a></li>
</ul>

I have tried moving/deleting the forward slash in the name and editing the plugin code but that shouldn’t make a difference as the html output is rendering everything perfectly with the exception of the added active class on the drama <li>.

Here is the html output for the drama page (for reference):

<ul id="nav">
<li><a href="http://localhost:8888/gman/" title="Home" accesskey="1">Home</a></li>
<li class="active"><a href="http://localhost:8888/gman/drama" title="Drama" accesskey="2">Drama</a></li>
<li><a href="http://localhost:8888/gman/docdrama" title="Doc" accesskey="3">Doc/Drama</a></li>
<li><a href="http://localhost:8888/gman/commercials" title="Commercials" accesskey="4">Commercials</a></li>
<li><a href="http://localhost:8888/gman/equipment" title="Equipment" accesskey="5">Equipment</a></li>
<li><a href="http://localhost:8888/gman/cv" title="CV" accesskey="6">CV</a></li>
<li><a href="http://localhost:8888/gman/contact" title="Contact" accesskey="7">Contact</a></li>
</ul>

Ako, if you have any suggestions I would really welcome them.

Cheers

Last edited by rathersplendid (2009-03-09 11:50:17)


Admin Themes Prometheus | Stung | <txp:coder/
My Portfolio | ɹǝpuɐz.com | @MrMartineau
<txp:coder /> – Convert your designs into Textpattern-based websites
jQuery Style | @jquerystyle

Offline

#98 2011-01-18 04:18:21

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,076
Website Mastodon

Re: [plugin] [ORPHAN] ako_nav

SO.. where does one get this plug-in? the home page is gone. is it perhaps available from somewhere else. Is there something bigger and better?
Navigational minds wish to know.


…. texted postive

Offline

#99 2011-01-18 04:27:59

akokskis
Plugin Author
From: Baltimore-ish, USofA
Registered: 2004-11-28
Posts: 230
Website

Re: [plugin] [ORPHAN] ako_nav

bici wrote:

SO.. where does one get this plug-in? the home page is gone. is it perhaps available from somewhere else. Is there something bigger and better?
Navigational minds wish to know.

here


My Photoblog, and my personal site. Got nav? ako_nav.
Thanks for taking the time to look…

— vc3 —

Offline

#100 2011-01-18 05:14:36

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,076
Website Mastodon

Re: [plugin] [ORPHAN] ako_nav

akokskis wrote:

bici wrote:

SO.. where does one get this plug-in? the home page is gone. is it perhaps available from somewhere else. Is there something bigger and better?
Navigational minds wish to know.

here

many thanks!


…. texted postive

Offline

Board footer

Powered by FluxBB