[Solved]: Page navigation links [Solved]: Page navigation links
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

[Solved]: Page navigation links

Started by stulancs, December 16, 2008, 01:46:02 AM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

stulancs

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

Fabricio Ferrero

A link to your gallery would be helpful...
Read Docs and Search the Forum before posting. - Soporte en español
--*--
Fabricio Ferrero's Website

Catching up! :)

stulancs

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.

Fabricio Ferrero

Ok, Thank you very much for coming back and solved the problem. ;)
Read Docs and Search the Forum before posting. - Soporte en español
--*--
Fabricio Ferrero's Website

Catching up! :)

Joachim Müller

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