I would like to remove the Login link from my g2 pages, but I don't know where or what the code is called, i tried searching for "login" in the template files but couldn't find it?
I don't have a need for anyone else to login except myself, since the gallery is displaying my own works...
thanks
Posts: 32509
GalleryCapabilities::set('login', false);
see modules/core/classes/GalleryCapabilities.class for more options.
Posts: 8601
also see Site Admin / General for option for login on sidebar and/or link on top bar
Posts: 29
Where do you enter "GalleryCapabilities::set('login', false)" at? I looked in the gallerycapabilities.class file but where do I enter the txt?
Thank you
Posts: 8601
you can add it in your config.php file. make sure include the semicolon at the end.
in upcoming Gallery 2.2 this form will still work, but it is deprecated.. the new form is: $gallery->setConfig('login', false);