Status: offline

etegration

Forum User
Full Member
Registered: 02/20/02
Posts: 179
See example site here

On that page "others, share it via ITCoW! We'll be glad to add it in! Contact us!" See the contact Us link, i am using:

Text Formatted Code
<a href="{site_url}/profiles.php?uid=2">Contact us</a>!</p>
 


How ever, the {site_url} gets parsed but still it's displayed again as "{site_url}" why so?

I hope to convert as much of my site to using all these logical links to enable me to migrate easily. Is there something to set in php.ini? or is it just some errors on my part or is it static pages plugin?
http://www.etegration.com.sg
http://www.itcow.com
http://www.ministryofhosting.com

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
You can't use variables in static pages.

You could either write PHP code that creates the page (where you could then use Geeklog's $_CONF['site_url'] config variable) or you could simply use a URL without the domain name, i.e.href="/users.php...".

bye, Dirk