Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#91 2006-10-25 19:19:41

Prax
Member
From: Huntsville, AL
Registered: 2006-09-27
Posts: 24

Re: [plugin] [ORPHAN] ako_nav

Thanks for this great plugin!

Any way to get it to set the first item as active if the other items aren’t?

Offline

#92 2007-02-08 18:09:54

Zanza
Plugin Author
Registered: 2005-08-18
Posts: 699
Website

Re: [plugin] [ORPHAN] ako_nav

I use this great plugin for menu generation, but I’ve run in a problema. When I use the plugin twice in a page (one for horizontal nav, and one for lateral menu) it create the same accesskeys twice. I see that you can now define your own accesskey. But accesskey have problem. Numbers are (nearly) ok, but I don’t want any accesskey at all for lateral menu. The plugin doesn’t let me do that.

I’ve managed to hack the source code to achieve my result by adding an attribute that can disable the accesskey generation. It would be great if next version of the plulgin could take this in account.

If you think it may be userful I can send you the modified code, but it’s really trivial. :)

Thanks, bye

Z-

Offline

#93 2007-06-27 18:11:16

curiouz
Member
Registered: 2006-06-20
Posts: 56

Re: [plugin] [ORPHAN] ako_nav

Great plugin! having a little problem though: when I use liids”“ I get the following error: tag_error <txp:ako_nav name=“Green Tea,Black Tea,White Tea,Pink Tea,Purple Tea” url=”/green,/black,/white,/pink,/purple” headon=“0” divid=“navigation” ulclass=“mootabs_title” liids=“green,black,white,pink,purple”/> -> Textpattern Notice: Unknown tag attribute: liids on line 582.
What am I doing wrong?

Thanks!

Offline

#94 2008-01-03 09:54:55

roobarb!
Member
From: Salford, UK
Registered: 2006-02-10
Posts: 10
Website

Re: [plugin] [ORPHAN] ako_nav

If you use the correct attribute (liids), then the error ‘Textpattern Notice: Unknown tag attribute: liids’ pops up. However, remove the ‘s’ from the end of the attribute (so use ‘liid’ instead of ‘liids’) and it works fine.

A minor oversight on this latest version (v1.0)?

Hope that helps someone, anyway. :o)

Offline

#95 2008-01-03 10:00:47

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: [plugin] [ORPHAN] ako_nav

It is a nice plugin but since 4.05 and txp:section_list, its not really needed anymore.

Offline

#96 2008-12-03 18:05:41

kevinmcdougall
Member
Registered: 2007-02-08
Posts: 55

Re: [plugin] [ORPHAN] ako_nav

Hey Ako,

Belated thanks for the plugin, even though TXP has moved on and other similar plugins have emerged, there’s still a few things I really like about it. Been using it for a while now, and will probably continue to do so.

Spotted a small bug with it today though which might be of interest to anyone still using it regularly like myself. The lilchild attribute is not properly implemented by the plugin. At about line 253, it says $navbar[$i]["lifchild"]); a second time, instead of $navbar[$i]["lilchild"]);. Changing this allows you to apply a class to the last list item.

Offline

#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,252
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,252
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