Hi how does the template system work? i was looking for some documents on this topic and havent found anything on it.
I have spent about 6 hrs trying to turn the background of the p0w0 theme white. And i have been trying to resize the rollover boxs that displaies the thumbnail views on the images and I cant seem to find how to do this.
Offline
The template system being used is smarty which has extensive docs (http://www.smarty.net/manual/en/) . The tricky part is knowing which template file controls which part of the gallery. In the case of p0w0, it uses the yoga template. So in template/yoga you'll find a bunch of smarty .tpl template files. These files contain HTML templates which controls the layout of the gallery. In the template/yogo/theme directory, you'll find a bunch of .css files controlling the look and feel of the gallery.
To turn the background white, open up template/yoga/theme/p0w0/theme.css file and look for the comment "/* Backgrounds Only */" It should be around line 94. Then set the background of BODY, .content, and #the_page to #FFF. If you aren't familiar with CSS, let me know and I can explain that in more detail.
About the resizing of the boxes, I'm not sure sure (I'm rather new to the PWG team). However, if you open up template/yoga/thumbnails.css and look around line 25, you should see the CSS for SPAN.wrap2. If you some padding to that CSS, you'll expand the boxes.
Offline
Smarty is the next release template system and not the actual one.
8-)
Offline
thank you....
So it will be smarty next in the next realise...
i run a gallery now and i notice its hard to get around my current one .... thats why i throw out my ideas for you. I also will have about 3,000- 20,000 pictures in mine when i update it, so I'm also looking into caching ideas that would store the pages for a 24-72 hour window.
Offline
VDigital wrote:
Smarty is the next release template system and not the actual one.
8-)
Whoops. That's what I get for basing info off of the subversion build, lol.
Offline
lol well it was a fast response...
so will i need to recustomize my templates after the smarty release?
Offline
Sorry about that but we decided to remove the previous system.
So everybody will have this constraint but next release will add a lot of major enhancements.
8-)
Offline