guest redirect to login page after clicking on thumbnail in rootalbum
|
JustCarmen
Joined: 2009-11-18
Posts: 5 |
Posted: Fri, 2009-11-20 07:32
|
|
All my albums are for registred users only. But I don't like the look of an empty root album when a guest come across my site. So I want all the thumbnails of all my albums also be visible to guests. But when they click on a thumbnail they have to be redirected to the login page to see the whole album. I have already played around with the rights, but when I give the 'view item' rights to everybody than a guest is still able to go inside an subalbum and see all the available thumbs. I don't want that. So basically I just want them to see all the thumbs in de root album and nothing more. How can I do that? I am using gallery 2.3 |
|
| Login or register to post comments |

Posts: 11023
This list a bunch of hacks people have done over the years:
http://codex.gallery2.org/Gallery2:User_Contributions
Including:
http://gallery.menalto.com/node/35288
The code in that thread may be way out of date, but it should get you going.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 5
Thank you for pointing out the right page! I tried the patch and it worked like a charm!