![]() |
|
themes for subalbums and albums - 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: themes for subalbums and albums (/thread-7015.html) |
themes for subalbums and albums - altert - 2010-05-07 Hello I don't know if that's a bug, but it seems that way. I know that custom themes are supported only for first level albums. Alexey themes for subalbums and albums - sbillard - 2010-05-07 Well, as you said, you accessed it as a subalbum. Themes are not applied to subalbums, only the parent. Seems pretty consistent to me. themes for subalbums and albums - altert - 2010-05-08 ok. For my project I've made modification to functions.php but could I suggest to include theme support for subalbums as an option? themes for subalbums and albums - acrylian - 2010-05-08 With a little coding on the theme directly you can do already what you want to do. Check for the current album and assign a specific CSS if it matches. themes for subalbums and albums - altert - 2010-05-08 Thanks. Well, that's also an option. It would lack convenience of choosing the theme from admin interface though. By the way - what is the reasoning behind disabling theming of subalbums? themes for subalbums and albums - sbillard - 2010-05-08 Performance. Adds much overhead for little value. Anyway, checkout the filter sets described in the plugin architecture. With these you can transform one theme to another with whatever code you choose. Always a better idea than modifying the core which is guaranteed to become a maintenance nightmare. themes for subalbums and albums - altert - 2010-05-08 thanks, I'll give it a try |