Page 1 of 1

[Solved] Setting the base href?

Posted: Wed Apr 16, 2008 2:20 pm
by EGS
Hi..

I cannot edit the base href in my templates system, so I suspect it's a setting with CMSMS.

How can I edit the base href?

Currently it's like http://site.com .. want to get it to http://www.site.com

Thank you.

Re: Setting the base href?

Posted: Wed Apr 16, 2008 2:22 pm
by Nullig
In your config.php file:

$config['root_url'] = 'http://www.site.com';

Nullig

Re: [Solved] Setting the base href?

Posted: Tue Nov 25, 2008 5:45 pm
by Frankie
Nullig wrote: In your config.php file:

$config['root_url'] = 'http://www.site.com';

Nullig
is there a smarty tag to call this root url var elsewhere in content?

Re: [Solved] Setting the base href?

Posted: Tue Nov 25, 2008 5:48 pm
by Frankie
Franklin wrote:
Nullig wrote: In your config.php file:

$config['root_url'] = 'http://www.site.com';

Nullig
is there a smarty tag to call this root url var elsewhere in content?
i just solved my own riddle! the tag is simply {root_url}