Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

global returning dynamic URL (page.cgi)

Quote Reply
global returning dynamic URL (page.cgi)
Hi!

There are different globals for getting the URL of the current shown page.
They all contain as_url(...) and return the static URL.

Is it possible, that this as_url(...) returns the dynamic URL?

That means instead of /category1/subcategory return category1%2Fsubcategory
for using in ...page.cgi?..URL ?

Thanks, Tina
Quote Reply
Re: [tga] global returning dynamic URL (page.cgi) In reply to
Hi,

Any URL's passed through the GT::Template system should accomidate for the d=1 paramater.

i.e if you are on;

page.cgi?d=1

..and a link goes to;

page.cgi?g=Sport;d=1

..then without the d=1, it would goto;

http://www.test.com/root_url/Sport/index.html.

GT have made it nice and easy to do this kind of thing :)

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!