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.
But I think it results in strange behaviour. I have dynamic album, based on tags search. And one of the albums having that specific tag has custom theme (the album is top level one) - but when I access it via dynamic album, it is treated as subalbum, and therefore it custom theme is ignored.
Alexey
Comments
I think that would increase zenphoto flexibility and personally had need it in two projects already. (E.g. current project - gallery has two major subalbums, and gallery owner wants to have different album styles for different albums. I've decided to use tags and dynamic albums, but in the end that meant the same restriction:) Changing this behaviour was very easy. Btw, I still wasn't able to include theming for subalbums in admin edit. Could you point me in right direction?)
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.