Hello,
as the subject already said, I would like to use different templates
for a few main-albums, while the majority of main-albums keep the kyp-picture.tpl.
After setting a permalink name for a main-album or sub-album I can
find it under templates in the 2nd column called "Optional URL keyword".
What does not work is, after setting the special-picture.tpl for the special main-album, the sub-albums do not
change, they keep the custom kyp-picture.tpl .
(my custom kyp-picture.tpl is set without any "optional URL keyword")
Any ideas ?
A complicated workaround would be to set a #-custom.picture.tpl for each subfolder,
but it will grow to at least a 100 albums so that would not be much use.
thanks for any help,
cheers
Kyp
Last edited by kyp_ (2013-09-03 01:12:32)
Offline
Hi
you were assuming a sort of inheritance among albums for templates, am I right?
I recommend you to use a combo personal plugin using Localfiles editor and an unique custom picture.tpl, or only one picture.tpl : if you do a basic print_t of the global variable $page you might found ways to retrieve the id of the parent albums and so display either code
Offline
If there isnt already a plugin out that can do that or
a config option with true/false, I'm afraid my skills are too low for that ;)
cheers
kyp
Offline