Hide start session link

Wedo

Joined: 2009-02-05
Posts: 5
Posted: Thu, 2009-02-05 10:09

Hi!! I'm a new user of gallery 2.3. The gallery looks really great!!! I'm trying to customizate the gallery and i want to hide de start session link, my idea its to add see permision to everybody, i dont want to create new users, only administrator user to upload images..

Thanks!!! Sorry about my spelling but I'm spanishs user!

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 25957
Posted: Thu, 2009-02-05 13:58

I don't see a "start session link". If you don't want the 'register' link you can uninstall the registration module.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Wedo

Joined: 2009-02-05
Posts: 5
Posted: Thu, 2009-02-05 14:23

Sorry in it's the login link, i dont see registration module...

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Thu, 2009-02-05 15:02

Easy ... add this line to your config.php

$gallery->setConfig('login', false);

Bookmark a url like this: http://mywebsite.com/gallery2/main.php?g2_view=core.UserAdmin&g2_subView=core.UserLogin to login yourself.

 
Wedo

Joined: 2009-02-05
Posts: 5
Posted: Thu, 2009-02-05 20:27

I have probe this method and the link still in the index page, perhaps it's the version i'm using gallery2 2.3

Thanks alcmyers

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Thu, 2009-02-05 20:33

I tested it on G2.3, so I'm pretty confident it works. Have you refreshed your browser cache, etc?