Gossamer Forum
Home : Products : Gossamer Links : Discussions :

URL in Text Areas shows Dynamic rather then Static

Quote Reply
URL in Text Areas shows Dynamic rather then Static
 
Greetings,
I am running my site in dynamic mode.
I created a page (using page builder plugin) to allow other people to link to my site...
I have in it links to my site... inside a text areas for ease to copy/past by webmaster
who wants to link back to my site... something like
Code:
<textarea rows="6" name="S2" cols="70">
<a href="http://www.mysite.com" target="_top">Mysite.com</a> -

However, when loading the site in dynamic mode, the URL inside the Textarea shows in dynamic mode.. like this

Code:
http://www.mysite.com/cgibin/links/page.cgi?g=index.html;d=1

and when the webmaster copies the code from the text area, then past it on their site, they get a dynamic URL
How do I force the URL inside the text area to show like this: http://www.mysite.com ..

Thank you...
Mark
Quote Reply
Re: [Mark2] URL in Text Areas shows Dynamic rather then Static In reply to
Hi,

The problem is you are passing along d=1 in the URL - simply get rid of that

For example, you are using something like:

page.cgi?page=foo;d=1

..but you need:

page.cgi?page=foo

d=1 tells GLinks to convert the "static" URL's into dynamic mode Smile

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!
Quote Reply
Re: [Andy] URL in Text Areas shows Dynamic rather then Static In reply to
Well.. I do not have any d=1 at the end of the URL.. the URL (in the first box is what I have)... but since I am running the code dynamically, it converts it to a dynamic URL ...
I think, I need to write re-write rules so my site will not be called by the long dynamic URL.. rather by www.mysite.com and I hope this will change the URLs inside the textboxes to look static as well...

Thank you though Andy..
Eiad
Quote Reply
Re: [Mark2] URL in Text Areas shows Dynamic rather then Static In reply to
Try this instead:

Code:
<input type="text" value="<a href=&quot;http://www.mysite.com/&quot;>Mysite.com</a>" />

I use it with some extras which will automatically highlight it when clicked:

Code:
<input type="text" id="txtfld2" onClick="SelectAll('txtfld2');" style="width:500px" value="<a href=&quot;http://www.mysite.com/&quot;>Mysite.com</a>" />