coppermine-gallery.com/forum

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

{$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.