Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
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…
Offline
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><div>
<p>You are in: about</p>
<ul>
<li><a href=”/”>home</a></li>
<li><a href=”/about”>about</a></li>
<li><a href=”/contact”>contact</a></li>
</ul>
</div></code>
PS: excuse my english
Last edited by maniqui (2005-07-25 17:01:01)
Offline
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
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.)
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
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).
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)
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
Re: [plugin] [ORPHAN] ako_nav
Not a problem at all. ;)
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
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.
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
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
Offline
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