[SOLVED]Get current URL in Menu Manager

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
Cobby
Forum Members
Forum Members
Posts: 23
Joined: Sun Jun 17, 2007 5:15 am

[SOLVED]Get current URL in Menu Manager

Post by Cobby »

Hi all,

I writing my own menu template for the menu manager. Is there a way to get the browsers current url? I have a horizontal tabed menu at the top, and I will have a bright tab, which correlates to the current URL. So I need to check the browsers url against my nav menu links in order for this to work.

So how do I get the browsers current url? Is it possible?

Thanks,
Cobby
Last edited by Cobby on Thu Jun 21, 2007 11:27 am, edited 1 time in total.
Cobby
Forum Members
Forum Members
Posts: 23
Joined: Sun Jun 17, 2007 5:15 am

Re: Get current URL in Menu Manager

Post by Cobby »

Oh nevermind, I will just use $node->index instead, how silly of me :P
Post Reply

Return to “CMSMS Core”