Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter

In this Discussion

How would one set view permissions for the Add Menu Item 1.1 plugin

This discussion is related to the Add Menu Item addon.

http://vanillaforums.org/addon/addmenuitem-plugin

This addon adds 3 extra menu links. Though they are not viewable to unauthenticated users. How would I go about setting the permissions on these? If not, is there possibly someone who could point me in the right direction to adding a few more menu items myself and allowing them to be viewable to all users/roles?

Thanks

Tagged:

Best Answer

  • peregrineperegrine MVP
    Answer ✓

    If you want unauthenticated users to see it...

    comment this line in default.php

    if ($Sender->Menu && $Session->IsValid()) {

    add this line if ($Sender->Menu) {

    like so

    // if ($Sender->Menu && $Session->IsValid()) {  
    if ($Sender->Menu) { 
    

    let me know if that works for you.


    factoid: Most questions have been previously answered, try the search box first, please provide your Vanilla version Number!

    Peregrine's Addons - donations gladly accepted for "successful solutions" and addons - kind of like tipping a waiter at a restaurant

    johansonlockerPamela

Answers

Sign In or Register to comment.