Start a new discussion

To start a new discussion please visit the discussions section of the GitHub home page of the project.

Discussions on GitHub

You can also search our old self-hosted forums for any useful information below but please note that posting new content here is not possible any more.

Reply To: ItemActive on page load with extra PHP vars

Home Forums Older releases 1.0.x ItemActive on page load with extra PHP vars Reply To: ItemActive on page load with extra PHP vars

#8643
admin
Keymaster

Well, I suppose you understand that adding a single parameter changes the page URL (Google considers these completely different pages too) so unless you are able to change the “href” attribute of the menu item (that you would like to be highlighted) to correspond to the new page URL too, the script will not highlight it.

So you would need to use some other “manual” solution – e.g. output the “current” class to the proper <a> element when needed via PHP.