![]() |
|
elegant code snippet for the album root 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: elegant code snippet for the album root folder (/thread-4306.html) |
elegant code snippet for the album root folder - gracestanat - 2008-12-24 Currently, I'm using this:
i'm thinking that there MUST be a cleaner way to do it. thanks in advance! elegant code snippet for the album root folder - sbillard - 2008-12-24 What do you want the result to be? If it is a server file path what you have won't even work. If someone sets the title of the album it won't match the folder and of course, the theme root has nothing to do with the albums paths. Also, paths are typically not translatable so the the server path is |