Reset themes; photo.tpl misbehaving

mindrail

Joined: 2007-10-20
Posts: 5
Posted: Tue, 2008-05-06 23:18

Hi
I've been hacking my photo.tpl without taking a backup. It all works ok, except the microthumbs which display as two rows, 10 and 6 or 7 thumbs, and ignoring all of my PGlightbox microthumbs config.

How would I get hold of a default photo.tpl ? Cant find one on the net and don't wanna reset the theme as it's quite customized as it is now.

Thanks IA
m

Login or register to post comments
floridave
floridave's picture

Joined: 2003-12-22
Posts: 9507
Posted: Tue, 2008-05-06 23:57

http://codex.gallery2.org/Gallery2:Themes:PGlightbox
zip files near the bottom
Use a local directory:
http://codex.gallery2.org/Gallery2:Editing_Templates

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

Login or register to post comments
mindrail

Joined: 2007-10-20
Posts: 5
Posted: Wed, 2008-05-07 20:47

floridave - thanks v much; it was good to get the files for safety.

trouble now (photo page), is my microthumbs are still not displaying correctly. I've got the right number of microthumbs, but the table the thumbs are in is flush width with the width of the image, so eg i want 8 columns and 16 thumbs, and for pic A, I get a row of 10 then a row of 6. as i've not changed nmy navigatorThumbs.tpl and refreshed my photo.tpl from distribution, I'm stumped. Do let me know if you think this is an easy one.

Thanks again
IA

Login or register to post comments
floridave
floridave's picture

Joined: 2003-12-22
Posts: 9507
Posted: Wed, 2008-05-07 21:18

I have never used the theme so can't offer much help.
Is there a per album setting for the microthumbs?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

Login or register to post comments
mindrail

Joined: 2007-10-20
Posts: 5
Posted: Thu, 2008-05-08 19:19

Yeah, in the themes settings page there are a lot of options, but I'm not sure where they're stored. I imagine it's a standard place, but I grep -r on linux and cannot see the values which are set through this page. it works normally (ie. the other sections), just the microthumbs section doesn't have an effect when I change the settings in it.

Where are themes settings stored - in a database?

Thanks
m

Login or register to post comments
floridave
floridave's picture

Joined: 2003-12-22
Posts: 9507
Posted: Thu, 2008-05-08 19:40
Quote:
Where are themes settings stored - in a database?

Yes. But use the themes UI to alter as linked tables etc will make the db corrupt if you edit manually.

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

Login or register to post comments