When changing lightbox2.insert-image.tpl.php in copy it to own theme directory, this file is ignored.
Changing lightbox2.insert-image.tpl.php in lightbox2 module directory works fine.
How can this problem be solved?
Thanks.
When changing lightbox2.insert-image.tpl.php in copy it to own theme directory, this file is ignored.
Changing lightbox2.insert-image.tpl.php in lightbox2 module directory works fine.
How can this problem be solved?
Thanks.
Comments
Comment #1
origo commentedDid you clear the theme registry? http://drupal.org/node/173880#theme-registry
Comment #2
drupalfan2 commentedOf course, I cleared it like this many times:
On the "Administer > Site configuration > Performance" page, click on the "Clear cached data" button.
Have you tested this issue? Do you have the same problem?
Comment #3
origo commentedSorry, just checking.
Yes, I can reproduce it, but I'm at a loss to explain it. I would have thought that standard theme template overrides would work, but maybe Insert behaves differently.
Update:
I found the problem: the theme template file must use dashes instead of dots in the file name. Then it works. I created a new patch in the original issue #34.
Comment #4
origo commentedHandled in the original issue.