Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: current page url  (Read 5808 times)

0 Members and 1 Guest are viewing this topic.

grantson

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 35
current page url
« on: June 18, 2010, 01:47:02 am »

hi guys

I have checked the global variables list in the documentation
and also searched with no luck

is there a variable that holds the current page url
in the same way that $CURRENT_PIC_DATA['url'] holds the url of the current picture

thanks


Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: current page url
« Reply #1 on: June 18, 2010, 07:20:58 pm »

Logged

grantson

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 35
Re: current page url
« Reply #2 on: June 21, 2010, 02:56:50 pm »

Sorry I forget,
page has only been live for a week prior to that its been on a virtual server making posting a link very difficult

www.magicmirrorphoto.co.uk/gallery

got it though
again step back think and realised is is in the file info so looked up to see how it was constructed in display image.php

Code: [Select]
{$CONFIG['site_url']}displayimage.php?pid={$CURRENT_PIC_DATA['pid']}
  ;D
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: current page url
« Reply #3 on: June 22, 2010, 12:23:30 pm »

Is your question solved? If so, please mark it accordingly.
Logged
Pages: [1]   Go Up
 

Page created in 0.036 seconds with 20 queries.