forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: Pascal YAP on July 22, 2004, 11:45:57 am

Title: CPG 1.3 generate wrong links on some navigation buttons, but not all, -HELP-
Post by: Pascal YAP on July 22, 2004, 11:45:57 am
Dear All CPG 1.3.1 users,

  After an Update from 1.1 to 1.3.1, some navigation button work wrong.
The link is write two time !  Expl at http://expo.pays-dignois.com (http://expo.pays-dignois.com)
It's not possible to jump from an image to the next !

What's wrong
Many thank's by advance

  Pascal
Title: Re: CPG 1.3 generate wrong links on some navigation buttons, but not all, -HELP-
Post by: Joachim Müller on July 22, 2004, 12:32:56 pm
you will have to modify your custom theme as explained in the file theme.htm inside the docs folder that comes with the cpg1.3.1 package. You can't use cpg1.1 or cpg1.2.x themes with cpg1.3.x
There are no errors if your site is browsed with the classic theme: http://expo.pays-dignois.com/?theme=classic&lang=english

GauGau
Title: Re: CPG 1.3 generate wrong links on some navigation buttons, but not all, -HELP-
Post by: Casper on July 22, 2004, 01:07:23 pm
I think you have mis-read his problem, as I get this problem in all themes on his site.

It is the image navigation buttons that are failing, the 'previous', 'next', and 'slideshow'.
This in the output(in classic theme) for the next button, http://expo.pays-dignois.com/expo.pays-dignois.com/displayimage.php?album=2&pos=7.

We have seen this before, and found the solution, so I will do a quick search.
Title: Re: CPG 1.3 generate wrong links on some navigation buttons, but not all, -HELP-
Post by: Casper on July 22, 2004, 01:23:47 pm
Take a look at this thread, I think it is what you need, http://forum.coppermine-gallery.net/index.php?topic=5348.0

seems to be to do with the $PHP_SELF
Title: Re: CPG 1.3 generate wrong links on some navigation buttons, but not all, -HELP-
Post by: Pascal YAP on July 22, 2004, 02:08:59 pm
GauGau, Casper,

Many thanx for your great help.
You find quicly my prob !
It's true, the prob is in INIT.INC.PHP and under $PHP_SELF

No hesitation, you're two Great GURUs ;-))

THNX again
Pascal