![]() |
|
Exclude unpublished albums from random images - 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: Exclude unpublished albums from random images (/thread-4735.html) |
Exclude unpublished albums from random images - harry09 - 2009-02-22 Hello, I'm using printRandomImages() and printLatestAlbums() functions to display random images and latest albums thumbs, however albums (and their subalbums) that are unpublished are also being displayed in these thumbs. How can i exclude the unpublished albums from being included? Exclude unpublished albums from random images - acrylian - 2009-02-22 You are probably logged in because then you get them all. Exclude unpublished albums from random images - harry09 - 2009-02-22 I am logged out but i noticed that even when an album is unpublished all its subalbums still show up in random images and latest albums thumbs. Is there a way to automatically unpublish subalbums when the main album is unpublished? I want to manually link to a specific album and don't want any of its subalbums' contents to show in the index page. Thanks Exclude unpublished albums from random images - acrylian - 2009-02-23 You can set the default for albums and images on the "Publish content" utility that is located on the admin overview page. Exclude unpublished albums from random images - iangbl - 2010-01-08 I've got a follow up question to this post. Effervescence+ is a great theme, however I've noticed that in its random display (at the top of the main page) it displays unpublished images to logged in users who don't have management rights on those images. Is there anyway to avoid this behavior? Exclude unpublished albums from random images - sbillard - 2010-01-08 No simple way. You would have to modify the guts of the random image function to omit any album which is not "managed" by the admin. |