forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 plugins => Topic started by: grantson on June 18, 2010, 01:47:02 am

Title: current page url
Post by: grantson 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


Title: Re: current page url
Post by: Αndré on June 18, 2010, 07:20:58 pm
Board rules / Forum policies: Post Links (http://forum.coppermine-gallery.net/index.php/topic,55415.msg270616.html#msg270616)
Title: Re: current page url
Post by: grantson 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
Title: Re: current page url
Post by: Αndré on June 22, 2010, 12:23:30 pm
Is your question solved? If so, please mark it accordingly.