benFF Posted July 20, 2015 Share Posted July 20, 2015 Sorry I don't know a better way to word this. Basically, I want to make the current "sections" navbar link have a special class, this way I can style it differently. For example, if on the Client Area homepage, the "Home" link in the navbar will have an extra class, or if viewing an invoice, the "Billing" menu will have a special class. I have no issues with writing the conditional for that (I just compare against the $item->getName()), but I just don't know what the main variable is to compare against? The best I could find was the $breadcrumbs variable, but that has so many pages to compare against, I'm hoping there is something easier! 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.