Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#16 2005-07-06 16:14:28

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

Re: [plugin] [ORPHAN] ako_nav

Sekhu, I’m leaving town now for about a month, but when I get back, I’ll try to help you and figure out exactly what it is that’s going on with the plugin on your site and why it doesn’t seem to be working…


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

— vc3 —

Offline

#17 2005-07-25 16:57:27

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

Re: [plugin] [ORPHAN] ako_nav

Hi,
I havent tested this plug-in yet, but it seems to be very useful…
I will give it a try in few minutes..

meanwhile, I have a suggestion:

the header tag (h<span style=“font-style:oblique;”>n</span> by default), can be specified by the user?
I mean: if in next releases of this plugin, the header tag can be replaced by a tag selected by the user.

So, it wont be a header necessarily… it can be any HTML tag.

The idea behind is this:

before the navigation list, I add an invisible < p class=“invisible” > that says: “You are here” (here = section name).
I hide it with a “display:none” rule.

With CSS enabled, the currentc section is “graphically” pointed, by a rule in the stylesheet.

So, if CSS is disable, the visitor can read wich section they are navigating.

Well… there are more possibilites than the one I suggested.

I dont know if this makes sense, but I think this add-on can make this plugin even more flexible.
You can output something like this:

<code>&lt;div&gt;
&lt;p&gt;You are in: about&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=”/”&gt;home&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=”/about”&gt;about&lt;/a&gt;&lt;/li&gt;

&lt;li&gt;&lt;a href=”/contact”&gt;contact&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;</code>

PS: excuse my english

Last edited by maniqui (2005-07-25 17:01:01)


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#18 2005-07-25 18:20:25

sekhu
Member
Registered: 2005-05-12
Posts: 428
Website

Re: [plugin] [ORPHAN] ako_nav

> tinyfly wrote:

> Make sure you have css that targets the current item like so: a.current{background: yellow;}. If you are having problems with the plugin applying the current class well… that’s another story.

Using the class/css value I can create the current – it’s just using the pluign it sometimes appears, but 90% disappears and doesn’t highlight. So I an have an li listed as current and add a css value to it, no worries there, just making it change dynamically is posing a problem

Offline

#19 2005-08-17 05:24:41

andjules
Member
From: toronto
Registered: 2004-10-20
Posts: 44

Re: [plugin] [ORPHAN] ako_nav

from the features:

class=“active” is automatically added to the current page’s li

actually, it adds class=“active” to the current <code><a></code>

which is currently a drag for me – I’m applying the green marinee theme and the bullet images are in the <code><li></code> CSS (I’d like to mod it so there is a special bullet for the active menu item)

how about curclass boolean (0=a, 1=li)?
the other advantage, is that if you go for the curlink=0 option (don’t link the current section), you could still get special styling

Last edited by andjules (2005-08-17 05:26:49)

Offline

#20 2005-08-17 05:46:38

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

Re: [plugin] [ORPHAN] ako_nav

Give me about a week, when I should have some more time (I’m about to move into school), and then I should be able to pull through on this for ya.
I’ll update ya when it’s done. (Or sooner, if the need presents its self.)


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

— vc3 —

Offline

#21 2005-08-17 05:59:11

andjules
Member
From: toronto
Registered: 2004-10-20
Posts: 44

Re: [plugin] [ORPHAN] ako_nav

that’d be great (when you have time). thanks for taking the interest. and thanks for a great plugin.

Offline

#22 2005-09-06 18:44:56

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

Re: [plugin] [ORPHAN] ako_nav

Howdy all, just wanted to stop by and announce the newest release of ako_nav, now at v.0.8. The latest change was the feature request by andjules, basically allowing the <code>class=“active”</code> to be added to either the <code>a</code> or the <code>li</code> tag.

The option for this is classtag. If it is set to 0, then the <code>class=“active”</code> is added to the <code>a</code> tag. If it is set to 1, then the <code>class=“active”</code> is added to the <code>li</code> tag. By defualt, <code>class=“active”</code> is added to the <code>a</code> tag (0).

Download
More Info

As always, let me know of any issues / problems / feature requests… I’m often more than happy to oblige.

And lastly, sorry for this taking so long. Been awful busy this entire summer, and well… yeah, it happens.

Last edited by akokskis (2005-10-09 22:55:48)


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

— vc3 —

Offline

#23 2005-09-06 18:49:42

andjules
Member
From: toronto
Registered: 2004-10-20
Posts: 44

Re: [plugin] [ORPHAN] ako_nav

sweet – thanks!

Offline

#24 2005-09-06 18:55:45

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

Re: [plugin] [ORPHAN] ako_nav

Not a problem at all. ;)


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

— vc3 —

Offline

#25 2005-09-06 19:15:50

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

Re: [plugin] [ORPHAN] ako_nav

Great plugin, thanks for the update.

Offline

#26 2005-09-08 08:00:44

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

Re: [plugin] [ORPHAN] ako_nav

Your download links sends me to a “Permission Denied” page on your site.

Offline

#27 2005-09-08 16:38:17

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

Re: [plugin] [ORPHAN] ako_nav

Arg. I’m having some issues with my server. It should be fixed within 6 hours, if not sooner. I’ll update again when it’s all set to go.


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

— vc3 —

Offline

#28 2005-09-08 17:33:52

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

Re: [plugin] [ORPHAN] ako_nav

Thanks, got it OK now. One thing, the help page in plugin is messed up, seems to have lost some formatting.

Last edited by lee (2005-09-08 17:34:12)

Offline

#29 2005-09-09 05:14:12

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

Re: [plugin] [ORPHAN] ako_nav

One thing, the help page in plugin is messed up, seems to have lost some formatting.

Ok, I’ll check that out in the coming few days. Probably, I expect that I’ll get it done on sunday. And for all you other folk out there, my server issues seem to be better now, so you can download ako_nav


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

— vc3 —

Offline

#30 2005-09-10 04:27:11

creativesplash
Member
From: Coimbatore, India
Registered: 2005-01-19
Posts: 283
Website

Re: [plugin] [ORPHAN] ako_nav

Adrian, a lovely plugin! Saves me a lot of time. The only problem i’m facing is with messy urls (one of my servers doesnt allow .htaccess). Looks like the class=“active” attribute doesnt work when messy urls are used. Can you help me out with this?

Regards,
Vasanth


“Take a point, stretch it into a line, curl it into a circle, twist it into a sphere, and punch through the sphere.”

— Albert Einstein

Offline

Board footer

Powered by FluxBB