![]() |
|
splash page instead of gallery view - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: splash page instead of gallery view (/thread-6777.html) |
splash page instead of gallery view - andremaier - 2010-03-15 Is there a way of having the first page be a splash page that does NOT list all of the galleries, but rather has just a login or search box where a viewer can type in the gallery name and be directed there? I don't want everybody to see all of the galleries, but rather just the one I have made for them... splash page instead of gallery view - acrylian - 2010-03-15 What you actually want is to put the printPasswordForm() function before the next_album loop. To only display the album(s) that are assigned to a specific logged in user use within the next_album loop More info about user rights and the functions as always on our user guide. splash page instead of gallery view - sbillard - 2010-03-15 You can also use the "gallery index page link" feature. Renamne your current index.php script to some other name, set the gallery index page link to that page and create a new index.php script that has your splash screen and a links to the gallery index page splash page instead of gallery view - weweje - 2010-03-20 @sbilliard.
splash page instead of gallery view - acrylian - 2010-03-20 You missunderstand that option probably. That option is to set the gallery index where to toplevel albums are shown to another page, in the exampel gallery.php. This does not automatically set a page as the slash page. But if you set that you can use the theme's index.php page for something else as the gallery index. The Zenpage theme has another option to create a homepage. But that must be an unpublished Zenpage page that might not give you enough freedom to design as it uses the pages.php template file. The real strenght of Zenphoto lies in theming, not everything can be done by checking an option. splash page instead of gallery view - acrylian - 2010-03-20 [i] Linking to an alternate page to be something like: href="/?p=alternate" ( without extension ) and not href="/alternate.php" splash page instead of gallery view - weweje - 2010-03-20 You're absolutely positively true! ( and i'm a lazy dev ) |