Jump to content

How to get menu active item


matinfazli

Recommended Posts

Hi folks,
I have a project that im working on right now,
I have developed it in joomla,
on the index page, I have a menu which shows the year ,
I need to know how to code a php variable to get the active item name of this menu so I can show (echo) it where I want.
I have attached a screenshot for better understanding,
Any help would be much appreciated.
thanks.

 

xp1061.png

 

Link to comment
https://forums.phpfreaks.com/topic/282046-how-to-get-menu-active-item/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.