Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#73 2006-06-19 07:11:44

bbrcn
New Member
Registered: 2006-06-17
Posts: 6

Re: [plugin] [ORPHAN] ako_nav

sure. www.lastnightdream.net

thanks

Offline

#74 2006-06-19 07:44:05

bbrcn
New Member
Registered: 2006-06-17
Posts: 6

Re: [plugin] [ORPHAN] ako_nav

OK
i modified code like this it works now
<code>
<!— Header ======================================= —>
<div id=“header”><div>
<h1><txp:sitename /></h1>
<txp:ako_nav name=“Home,Archive,About,Contact” url=”/,/index.php?s=archive,/index.php?s=about,/index.php?s=contact” headlvl=“1” headon=“0” divon=“0” classtag=“1” />
</div></div>
</code>

Offline

#75 2006-08-30 19:47:45

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

Re: [plugin] [ORPHAN] ako_nav

Howdy all.

I’m well on my way to getting the next release out, but before I do, are there any specific things that you would like included in the next release? If so, let me know.
Ok, that’s all for now.


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

— vc3 —

Offline

#76 2006-08-31 13:31:18

lee
Member
From: Normandy, France
Registered: 2004-06-17
Posts: 831

Re: [plugin] [ORPHAN] ako_nav

Any way to specify a span and class, like:
<code><li><a href=”#”><span class=“myclass”>text</span></a></li></code>

Thanks, Lee

Last edited by lee (2006-08-31 13:32:22)

Offline

#77 2006-08-31 13:34:06

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

Re: [plugin] [ORPHAN] ako_nav

Yup, that one’s coming. ;)
Anything else, anyone?


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

— vc3 —

Offline

#78 2006-08-31 13:37:27

lee
Member
From: Normandy, France
Registered: 2004-06-17
Posts: 831

Re: [plugin] [ORPHAN] ako_nav

Actually it’s already there, this thing is even better than I thought.

What have you got instore for us?

Thank you, Lee

Offline

#79 2006-08-31 16:47:16

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

Re: [plugin] [ORPHAN] ako_nav

  • Support for native https in TXP (as per this)
  • Support for full URLs in the url attribute (http, https, ftp… are any others needed??)
  • Support for custom access keys
  • Support for custom delimiters (in the event that you’ve got a comma in the name you want to use)
  • Support for span id attributes
  • Ability to change the class=“active” to class=“whatever”
  • Support for first / last child classes…

Now a question for the masses as the first/last child support… How do you all want this one to be implemented? As an additional class that just gets added to the li or a tag, or…? That’s currently my thinking, but hey, if someone’s got a better idea, I’m more than happy to use it.

Uhm, I think that’s all for the moment. There might be some other stuff that I’m leaving out, but I believe that’s it.


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

— vc3 —

Offline

#80 2006-09-04 10:36:15

lee
Member
From: Normandy, France
Registered: 2004-06-17
Posts: 831

Re: [plugin] [ORPHAN] ako_nav

Any one help out on this please, I’m stuck,

My url is http://www.mysite.com/services/services-overview

I’m in the services section displaying an article with services-overview as the url only title (as set in the write tab). Problem is the .active is not being set on the a tag.

Thanks,
Lee

Offline

#81 2006-09-22 13:02:17

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: [plugin] [ORPHAN] ako_nav

Thanks again for this plug-in, akokskis.
I have left behind my intention of using no plug-ins at all.
I think ako_nav is better than built-in tags (txp:section and txp:if_section) to make a section menu with class=“active” applied.

I have a suggestion for the plug-in to improve its flexibility.

Following the logic of name and url attributes (that values matchs one-to-one to create the menu), it would be nice a new attribute to apply a different and unique class to each item of the menu.
Something like uclass=“section1,section2,section3,section4”.
This could be also a way to implement the first/last child classes: uclass=“first,,,last”.

BTW, I’m reading the plug-in help and I found this two attributes (aids, liids). I understand that those are for adding an id to the li and <i>a</i> tags. But that will lead to more than one element to the same id applied and ids values should be applied only to one element at time in the same HTML document.
Am I wrong?


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#82 2006-09-22 19:13:22

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

Re: [plugin] [ORPHAN] ako_nav

Thanks again for this plug-in, akokskis.
I have left behind my intention of using no plug-ins at all.
I think ako_nav is better than built-in tags (txp:section and txp:if_section) to make a section menu with class=“active” applied.

Heh, thanks. Glad to know that it’s appreciated and working out well.

Following the logic of name and url attributes (that values matchs one-to-one to create the menu), it would be nice a new attribute to apply a different and unique class to each item of the menu.
Something like uclass=“section1,section2,section3,section4”.
This could be also a way to implement the first/last child classes: uclass=“first,,,last”.

I’m actually putting in first / last child support on the <code>li</code> and <code>a</code> tags in this next release, which I’m hoping to get out relatively soon (it’s been forever since the last release)

BTW, I’m reading the plug-in help and I found this two attributes (aids, liids). I understand that those are for adding an id to the li and <i>a</i> tags. But that will lead to more than one element to the same id applied and ids values should be applied only to one element at time in the same HTML document.
Am I wrong?

Well, actually, those two attributes already accept a list of comma seperated values as to their attributes, so each element will only have one id.


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

— vc3 —

Offline

#83 2006-09-22 19:30:43

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: [plugin] [ORPHAN] ako_nav

akokskis wrote:

Well, actually, those two attributes already accept a list of comma seperated values as to their attributes, so each element will only have one id.

That was what I was suggesting! :D
I should have tried before requesting!
Thanks again!


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#84 2006-09-22 19:42:12

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

Re: [plugin] [ORPHAN] ako_nav

Heh, no worries.
And, you’re welcome!


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

— vc3 —

Offline

Board footer

Powered by FluxBB