How to modify my gallery page

trueman

Joined: 2006-02-25
Posts: 78
Posted: Fri, 2006-03-03 14:42

hello,

I have managed to make quite a few changes by playing around with the theme.tpl and the theme.css file. However there are a few more changes I would like to make but just cant seem to get it right.

here is my site http://www.trumanlive.com/gallery2/v/

1.It says Trumans photo gallery twice, how do I get rid of the top one?

2. How do I get my album thumbnails to align to the left and my text to align to the right of the thumbnail instead of underneath? Then I also want a border seperating each album.

3. How do I put the album name in front of the album description and make it a link to the album as well?

4. Within my albums how do I bring the thumbnails closer together so I can fit four wide on one page? I tried playing with the padding settings in theme.css but it ddint work.

Thank you in advance for your help.

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Fri, 2006-03-03 19:00

1) There's an item about modifying the breadcrumb here: http://codex.gallery2.org/index.php/Gallery2:How_Tos#Customizations

for the rest, keep working on the tpl/css and look at how existing themes do these things..
{$child.title|markup}, {g->url ...} etc.

 
trueman

Joined: 2006-02-25
Posts: 78
Posted: Fri, 2006-03-03 22:45

Okay great thanks for that I shall have a read and see what I can teach myself.
My main aim is to get the thumbnails to the left and the text alongside them on the right.
I was able to move my thumbnails to the left hand side of the page by changing a line in theme.css file from position center to position left however the text was underneath the thumbnail and I really want it to the right of the thumbnail. Im just not sure what part of the tpl file I should be modifying or if I should be modifying the album.tpl file or the theme.tpl file. (Or even the theme.css file for that matter.) Can someone give me some clues on this one please?

Ive looked at a theme that does the same thing but trying to compare them side by side with mine to work out which section positions the thumbnails and the text on the page is hard to do. I dont want to use this whole theme just its layout on my main gallery page only.

Thanks heaps for any help you can give me.

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Sat, 2006-03-04 05:08

try classic theme.. it already has text on the right.

 
trueman

Joined: 2006-02-25
Posts: 78
Posted: Sat, 2006-03-04 06:17

I gave the classic theme a go and it is the lay out I want but the colours were wrong. So I edited the theme.css file but no matter what the background colour remained white which is not what I wanted. I then even copied my theme.css file from my greypop theme (Which is the colour I wanted for my main page) into the classic themes folder overwriting the classics own theme.css file. But it made no difference. Why cant I change the background colour of my gallery page?

 
trueman

Joined: 2006-02-25
Posts: 78
Posted: Sat, 2006-03-04 06:29

I followed the link to remove the breadcrumbs but I still see my album name listed twice for the main gallery and my album pages?

 
trueman

Joined: 2006-02-25
Posts: 78
Posted: Sat, 2006-03-04 07:43

Okay I fixed the background color problem. For some reason and I dont know why as it hasnt happened before until now but I was loading a cached page so thats why my chnages werent visible.

I hadnt had this problem before though, everytime I refreshed it would show the new version of the page. WOuld like to remove the album name being shown twice still though.

 
trueman

Joined: 2006-02-25
Posts: 78
Posted: Sat, 2006-03-04 12:47

Well I managed to play around and get everything how I want except for one thing. The text next to my albums that describes each album needs to be over to the left next to the album thumbnails.
Ive tried playing around with theme.css but cannot get it to happen.
Ay suggestions as to how I can ahieve this?

Thanks heaps in advance.

http://www.trumanlive.com/gallery2/v/

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Sat, 2006-03-04 16:45

i'd set the width of the table column that contains the thumbnail to 1%

 
bubble.tea
bubble.tea's picture

Joined: 2006-03-05
Posts: 7
Posted: Sun, 2006-03-05 13:43

do I have to know the programming language to carry out such customizations? change background colour etc, add custom logo/image at the top or anywhere?
or is it in the edit theme menus?

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Sun, 2006-03-05 17:03

whatever languages you know, you can customize.. if you just know html, you can make some changes to tpl files. if you know css you can style the page with theme.css or make your own colorpack. if you know php you can load additional data for your theme or create your own modules. if you have specific questions please start a new topic, thanks.