coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: stulancs on December 16, 2008, 01:46:02 AM

Title: [Solved]: Page navigation links
Post by: stulancs on December 16, 2008, 01:46:02 AM
I'm using 1.4 with slightly customised classic theme (just page widths and colours), and the modpack by stramm installed. I'm having a problem with the page navigation in albums where the links are stretched out across the entire width of the page, and I can't find where to edit the table layout to make it either aligned to the right or the left.

For example, if I am on the thumbnail page of an album and there are three pages of thumbnails, the 1 will appear at the left of the page, the 2 will appear in the centre, and the 3 appears to the right. I've attached a screenshot of what it looks like when I'm in on the thumbnails page of an album where there are 9 pages, and one where there are 3 pages.

So my question is, in which file do I find the code that creates the menu, and whereabouts in the file is the code?

Thanks
Title: Re: Page navigation links
Post by: Fabricio Ferrero on December 16, 2008, 03:29:59 AM
A link to your gallery would be helpful...
Title: Re: Page navigation links
Post by: stulancs on December 16, 2008, 04:58:22 PM
I solved it by following this advice:
http://forum.coppermine-gallery.net/index.php/topic,34808.0.html

The section of code I was looking for was in /include/themes.inc.php 

Once I added the extra %, it all worked fine.
Title: Re: [Solved]: Page navigation links
Post by: Fabricio Ferrero on December 16, 2008, 06:11:00 PM
Ok, Thank you very much for coming back and solved the problem. ;)
Title: Re: Page navigation links
Post by: Joachim Müller on December 22, 2008, 01:20:47 PM
Quote from: stulancs on December 16, 2008, 04:58:22 PM
The section of code I was looking for was in /include/themes.inc.php 
Don't edit that file - under no circumstances. You can accomplish the very same thing by editing themes/yourtheme/theme.php