![]() |
|
Limit/filter albums shown - 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: Limit/filter albums shown (/thread-4931.html) |
Limit/filter albums shown - danm - 2009-03-30 I would like to have one database support two galleries, by limiting/filtering the albums that each can show? The website calls for two pages, each with a unique set of albums on each. Is this possible using some sort of a $showCat command? Or will I have to install zenphoto in another directory as it seems from my forum searching? Limit/filter albums shown - sbillard - 2009-03-30 This is possible. You will need to do two things. First, obviously, both galleries have to point their album folder to the same folder. You can do this in the zp-config.php file by making the appropriate changes to the album folder setup. Second you will need to filter out (or in) the albums which belong to the other (current) album. The next release of Zenphoto has a filter for album discovery. The included sample plugin Limit/filter albums shown - danm - 2009-03-30 Do I Still need two installs of zp? Also, I don't see that plugin in my listing. Is there a url to download it? Limit/filter albums shown - sbillard - 2009-03-30 Yes, you would need two installs for the scenerio described above. The plugin is not available until the 1.2.5 release (that is the Limit/filter albums shown - danm - 2009-03-30 Thanks. I will watch for it. Limit/filter albums shown - sbillard - 2009-03-30 Sorry, I was ahead of myself. I of course meant the 1.2.4 release which has just been made. |