How to add current menu calss
Thiyagarajantender opened this issue · 2 comments
I have using below code to display categories list. But i don't know to add current class for menu
<% if $Categories %>
<% end_if %>
Hi, thanks for taking the time to post to our issue tracker.
The issue tracker is reserved for reporting bugs and we don't provide support through this channel.
A good place to get support is on the Silverstripe community slack channel. There are also other great community support options where you can get help including our forum or Stack Overflow (remember to tag as silverstripe).
Sorry we can't be of more help and good luck resolving your problem!
@Thiyagarajantender - I use something like: https://github.com/lerni/ootstra/blob/master/app/src/Page.php#L378-L404 so than I can loop over $CategoriesWithState and have $CustomLinkingMode available. Join us on #slack and check, what others suggest as solution for this ;)