10375 Posts in 2190 Topics by 1707 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 2031 Views |
-
Subsites module - Single content location

16 June 2009 at 12:02pm
Hey everyone,
Have just installed the Subsites module, and I can see that you can create different sub sites. however is there any way to share content between sites, so I only need to create some content in one of the sites, and publish to a seperate site?
Cheers,
Freefall -
Re: Subsites module - Single content location

17 June 2009 at 5:03pm
Hi Freefall,
The subsites module creates a Subsites Virtual Page. You can use that to select which subsites page you want to have duplicated on the site you are viewing.
Cheers
David -
Re: Subsites module - Single content location

19 February 2010 at 2:34pm
Hi David,
I have also installed subsites and all appear to work OK after going through a very hoops to understand the intricacies of the setup. All is good now.
The only problem I am havingis that when I create the subsite Virtual page, when I try to select the site tree, instead of the tree getting displayed, I get a Fatal error. See attached image.
Can you help? I have reported this as a bug but not received any responses to it.
Cheers
Ulysses
-
Re: Subsites module - Single content location

23 March 2010 at 4:02am
Hi ulysses,
that's because subsites/code/SubsitesTreeDropdownField.php::gettree() should call parent::gettree($request) instead parent::tree($request).
If you change about line 30 like following, it works:
function gettree(SS_HTTPRequest $request) {
$oldSubsiteID = Session::get('SubsiteID');
Session::set('SubsiteID', $this->subsiteID);$results = parent::gettree($request);
Session::set('SubsiteID', $oldSubsiteID);
return $results;
}HTH,
wmk
-
Re: Subsites module - Single content location

23 March 2010 at 10:42am
Thanks WMK. Your solution solved the problem. You help is most appreciated.
Ulysses
| 2031 Views | ||
|
Page:
1
|
Go to Top |


