Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Making a custom link visible to admins/mods only?
Zhaan
✭✭
I've got a few simple links added to my default.master.tlp and I need some of them to only be visible to staff members. What's the easiest way to achieve this?
I have something like this:
<ul class="SiteMenu"> <a href="http://www.cakepieabc.com/categories/staff">Staff Section</a> </ul>
0
Best Answer
-
businessdad MVP
I would use a plugin and intercept the
MenuModule_BeforeToString
event, as indicated in my reply to "Is it possible to add a custom page to the menu?"2
Answers
I would use a plugin and intercept the
MenuModule_BeforeToString
event, as indicated in my reply to "Is it possible to add a custom page to the menu?"My shop | About Me
Duplicated - Deleted.
My shop | About Me