How to make active menu on a particular page?

Menu displayed in a separate template tpl has an active class as to do so would be in the transition to a separate php page for this class became active in li tag?
June 10th 19 at 14:37
1 answer
June 10th 19 at 14:39
assign active class

but it's not php, but html and css
You do not understand me! The template has a menu but without active class current as on the website there are separate php pages that are bolted to the controller I understand the pattern you need to put in li script with certain parameters and when the user goes to the php page, this class is activated by a function which is installed in this php file page. - milo93 commented on June 10th 19 at 14:42
hire a professional developer - Pedro65 commented on June 10th 19 at 14:45

Find more questions by tags PHP