A couple customizing questions...

voxel

Joined: 2005-09-16
Posts: 2
Posted: Mon, 2005-09-26 00:18

I am currenty using the Siriux theme for my gallery, and wanted to move the Login / Register links to the top of the page... and was wondering how I should go about doing this? editing the main.php? the Siriux css stylesheet?

My second question is again regarding the Siriux theme... with the Siriux theme, it categorizes picture galleries by year (2004, 2005, etc)... but I was wondering if there is a way of categorizing the galleries by year (like it is now) with the addition of having a 'User Galleries' override of some sort so I can group users' galleries under a different header?

Thanks in advance!
- John

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Mon, 2005-09-26 00:51

Edit theme.tpl in /themes/siriux/templates/ save it to /themes/siriux/templates/local/ Everything you need to edit is in /themes/siriux/

Also take a look at these pages, you may want to look into cloning the theme to make it your own:
http://codex.gallery2.org/index.php/Gallery2:Themes

http://codex.gallery2.org/index.php/Gallery2:Tpl_Reference

To your second question, I'm not exactly sure what you're looking for. When I think of a "gallery" I think of the entire system. You're talking about the individual albums. Do you you can apply different themes to different albums. So you could create a Siriux like theme that doesn't sort/categorize based on year for those albums.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live [url=href="http://photos.kevinnehls.com]here[/url]

 
RwD
RwD's picture

Joined: 2005-01-09
Posts: 383
Posted: Mon, 2005-09-26 10:42

To clarify Nivekiam's reply a little bit;
All files you need to edit are within /themes/siriux. But when you edit them it is a good idea to first copy the file into a subdirectory called "local" and copy that version. G2 will always try to find certain files in two locations: the actual location and in a subdirectory called "local" of the actual location. Since it tries the local first you can edit those files and have the changes without damaging the original source code!

To have the login part go up I think you need to edit the file /themes/siriux/templates/theme.tpl (after copting it into the "local" subdir which you will have to make)

______________________
I made a theme for G2, try it :)

 
mickymac101

Joined: 2009-01-20
Posts: 3
Posted: Wed, 2009-01-21 01:23

Hi,
What do you have to edit in theme.tpl to move the login bar to the top of the page, I also want to move all other links ie. links in head to the top. using siriux.

cheers