Making templates...

fotosoup

Joined: 2005-07-26
Posts: 8
Posted: Tue, 2005-07-26 05:35

I'm very new to gallery, but I seem to be managing alright. I would like to design my own template to use with my gallery but so far haven't had any luck :-? ... I have a local copy of the file i'm editing (theme.tpl).. but whenever I add any standard html nothing shows up... wich is the same for the rest of the files i've tried editing. Is there something I'm missing? I thought you could just add html to the theme files?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2005-07-26 06:13

you can't add anything within { here } but between the { } here { } blocks, you are allowed to put html.

 
fotosoup

Joined: 2005-07-26
Posts: 8
Posted: Tue, 2005-07-26 07:13

Ok, I have been able to make my layout the way I want, but I have a few questions..

1) How can I edit the demensions of the sidebar? I need it a little bit wider...
2) Where do I edit the stuff like the lines that are around the sidebar
3) How can I put back slashes between the items in the breadcrumb nav?
ex. Main / Top Album / Child Album / Photo
4) How can I had "|"'s between the items in the item action list...
ex. Add Photo to Cart | Make Link | etc....

Thanks for all the help guys!

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2005-07-26 07:25

1)
theme.css
2)
css
3)
the breadcrump block template accepts an optional separator
4)
customize the modules/core/templates/blocks/ItemActions block

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Tue, 2005-07-26 14:02

Just a reminder to also read the Sticky topic at the top of this forum: http://gallery.menalto.com/index.php?name=PNphpBB2&file=viewtopic&t=28428