![]() |
|
Hide empty folder - 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: Hide empty folder (/thread-12906.html) |
Hide empty folder - fhesse - 2017-05-08 Hi, Hide empty folder - acrylian - 2017-05-08 Unpublish the folders (we call them "albums") so only logged in users with the appropiate rights will see them unless they know the link. You can also set unpublished as the default state for newly discovered albums on Options > Gallery. Hide empty folder - fhesse - 2017-05-10 I see from your answer you got not my intension. I would like to prepare several empty albums - with a different name as the folder. Invisible until the first content a jpg is stored to the folder, which should contain all jpgs take during the week. Hide empty folder - acrylian - 2017-05-10 Probably I did indeed not understand ;-) Quote:I would like to prepare several empty albums - with a different name as the folder. You cannot create empty albums via the backend upload except using the elFinder plugin which is a way to directly edit (this bypasses certain gallery functions). Or you could do that via FTP or via the object model via code. There is also no facility to publish albums once they have content. It would probably be possible but you would have to create e.g. a plugin using some filter hooks to do so. Edit: Seems there is a third party plugin doing this: |