Topics

User Functions

Events

There are no upcoming events

What's New

Stories

1 new Stories in the last 2 weeks

Comments last 2 weeks


Trackbacks last 2 weeks

No new trackback comments

Links last 2 weeks

No recent new links

NEW FILES last 14 days

No new files

Welcome to Geeklog Saturday, May 25 2013 @ 09:46 PM EDT


 Forum Index > Support > Plugin Support New Topic Post Reply
 Static Pages using site_url
   
etegration
 02/08/05 01:43PM (Read 971 times)  
+++++
Full Member

Status: offline


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:

PHP 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
 
Profile Email Website
 Quote
Dirk
 02/08/05 03:44PM  
AAAAA
Admin

Status: offline


Registered: 01/12/02
Posts: 13027
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

 
Profile Email Website
 Quote
Content generated in: 0.83 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Able to post 
Filtered HTML Allowed 
Censored Content