D
D
Denis Vasiliev2015-12-04 21:52:53
PHP
Denis Vasiliev, 2015-12-04 21:52:53

How to remove active menu item links in Opencart?

I can't remove links on the active menu item on the site . Who faced? Here. for example, you go to the photo of the work, but the link is still active.
And so everywhere. The menu is also strangely organized, but somehow ..aebdf028848f48afaa67dbc8b23f0bd7.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2015-12-04
@thewind

So write directly in the template - if the current path of the router is equal to the value of the link, then put span instead of the link.
And the fact that somewhere is normal CNC, and somewhere through the index, so you need to look at what is in the admin panel and write it correctly.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question