Jump to content

[MODIFICATION] class="last" to Block Top Menu


David Bucur

Recommended Posts

Hi,

I have modified the Block Top Menu adding an option in the backend to put a class="last" in the last item of the menu.

 

I would like to share it in order for the next versions to implement it.

 

These are the changed lines:

 

60, 70, 119, 152, 382, 383, 384, 572, 573, 580, 581, 593, 600, 627, 651, 661

 

It works as it is in the website we are developing however it will probably need some work to work in all combinations as it is not included in all cases in the switch at line 586.

 

 

I am not sure if this is the place to put this, if it isn't can someone move it to the place it belongs.

 

blocktopmenu.php

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...