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 |
|
||||||
![]() ![]() ![]() ![]() ![]() 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 |
||||||
|
|||||||
| Dirk |
|
||||||
![]() ![]() ![]() ![]() ![]() 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 |
||||||
|
|||||||
| Content generated in: 0.83 seconds |
|
|
|