Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba

Subsites Main site url


Go to End
Reply


2 Posts   625 Views

Avatar
philsbury

Community Member, 2 Posts

20 November 2012 at 10:45pm

Hi,

I'm using the subsites module (or rather a modified version of it!) and am putting my subsites in sub domains, eg:
silverstripe.com - main site
site1.silverstripe.com - sub site

in my theme, I'd like to link back to my main site, dynamically if possible. Is there a function/setting in $Site.Config that stores the main site URL?

Avatar
RuthAdele

Community Member, 20 Posts

12 February 2015 at 7:29pm

I'm trying to do the same thing (to no avail...)
Hoping bumping this up will mean that someone knowledgeable can assist me/us.