Advanced search  

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]

Pages: [1]   Go Down

Author Topic: [Solved]: Page navigation links  (Read 3002 times)

0 Members and 1 Guest are viewing this topic.

stulancs

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
[Solved]: Page navigation links
« 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
« Last Edit: December 16, 2008, 05:54:22 pm by Phill Luckhurst »
Logged

Fabricio Ferrero

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 1996
  • From San Juan, Argentina, to the World!
    • http://fabricioferrero.com/
Re: Page navigation links
« Reply #1 on: December 16, 2008, 03:29:59 am »

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

Catching up! :)

stulancs

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Page navigation links
« Reply #2 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.
Logged

Fabricio Ferrero

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 1996
  • From San Juan, Argentina, to the World!
    • http://fabricioferrero.com/
Re: [Solved]: Page navigation links
« Reply #3 on: December 16, 2008, 06:11:00 pm »

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

Catching up! :)

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Page navigation links
« Reply #4 on: December 22, 2008, 01:20:47 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
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 20 queries.