Superflexi on multi site

Post here if you have questions about creating SuperFlexi Solutions.

The SuperFlexi documentation is very thorough, so you might want to start there.

This thread is closed to new posts. You must sign in to post in the forums.
5/9/2018 10:33:05 PM
Gravatar
Total Posts 104

Superflexi on multi site

Hi

I try to use superflexi on multisite installation, but when I use it on child sites,( folder based) I can't manage module. it setting link point to main site url not current site, and when try to reach add slide page by direct url, I got Object referenced error message.

how can I setup superflexi on child sites?

 

Thanks for your help

5/14/2018 9:29:09 AM
Gravatar
Total Posts 47

Re: Superflexi on multi site

HI Ashian,

I am trying to use SuperFlexi in a multi site installation but when I try to configure the features in the child site I do not see Superflexi among the available features. How did you manage?

Is there a workaround similar to this https://www.mojoportal.com/Forums/Thread.aspx?pageid=5&t=13756~1 to use SuperFlexi in child sites?

Thanks in advance

 

Mari

 

 

 

 

 

5/14/2018 10:06:48 PM
Gravatar
Total Posts 104

Re: Superflexi on multi site

Hi Mari

Do you add superFelxi from Features tab of site settings to child site?

when we use folder based multi site, method GetSiteRoot() from WebUtils.cs still return site URL without older as Site root, and therefore  urls created in SuperFlexiHelper.cs are not valid and need to add folder name between main site url and SuperFlexi tools URLs

5/24/2018 6:23:36 PM
Gravatar
Total Posts 2253

Re: Superflexi on multi site

Hi Mari and Ashian,

Mari - As Ashian mentioned, to get features to show up on child sites, you need to add them using the "Features" tab in the Site Settings of the child site. Our Multi-Tenancy documents mention this. 

Ashian - You are correct. SuperFlexi does use GetSiteRoot, which doesn't include the path to child site folders. We've changed SuperFlexi to use SiteUtils.GetNavigationSiteRoot and this fix will be released next week.

Thank you,
Joe

2/8/2019 3:20:32 AM
Gravatar
Total Posts 6

Re: Superflexi on multi site

Hi Joe,

I am using SuperFlexi on Multisite, it work fine in Master Site, but in a child site I always get an error "[NullReferenceException: Object reference not set to an instance of an object.]"

at FieldUtils.cs at Function ParseFieldDefinitionXml.

Please Advice.

the detail error is below:

================================================================================================= 

Line 907:        protected override void OnLoad(EventArgs e)
Line 908:        {
Line 909:            base.OnLoad(e);
Line 910:
Line 911:

[NullReferenceException: Object reference not set to an instance of an object.]
   SuperFlexiUI.FieldUtils.ParseFieldDefinitionXml(ModuleConfiguration config, Guid siteGuid) +767
   SuperFlexiUI.FieldUtils.EnsureFields(Guid siteGuid, ModuleConfiguration config, List`1& savedFields, Boolean deleteOrphanedFieldValues) +163
   SuperFlexiUI.EditItems.PopulateCustomControls() +321
   SuperFlexiUI.EditItems.Page_Load(Object sender, EventArgs e) +655
   System.Web.UI.Control.OnLoad(EventArgs e) +95
   mojoPortal.Web.mojoBasePage.OnLoad(EventArgs e) in D:\Master\mojoportal-master_used\Web\Components\mojoBasePage.cs:909
   System.Web.UI.Control.LoadRecursive() +59
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +678

===============================================================================

 

Thanks and Regards,

Ricky S

2/8/2019 12:21:04 PM
Gravatar
Total Posts 2253

Re: Superflexi on multi site

Which version of mojoPortal are you running? I believe we fixed a lot of those issues in the 2.7 release. 

With multisites, are you using folder-based or domain/hostname based?

We have another release in testing now. I'll be sure to check out this scenario.

Thanks,
Joe

2/9/2019 5:03:20 AM
Gravatar
Total Posts 6

Re: Superflexi on multi site

Hi Joe, I am using version 2.7, multisite using folder based. Can you give me url for the update please? And if there is additional step needed, please let me know. Thanks and Regards, Ricky S
2/12/2019 12:33:03 AM
Gravatar
Total Posts 6

Re: Superflexi on multi site

Hi Joe,

Any update on my case?

 

Hi Ashian,

Is your problem solved? I think my problem same as yours.

 

Thanks and Regards,

Ricky S

3/29/2019 2:40:33 PM
Gravatar
Total Posts 104

Re: Superflexi on multi site

Hello Ricky,

I change to subdomain model, in folder based multi site, I have this problem

3/29/2019 3:57:36 PM
Gravatar
Total Posts 2253

Re: Superflexi on multi site

Hey guys,

Sorry I missed this from February.

I will email a release candidate to you now.

Thanks,
Joe

You must sign in to post in the forums. This thread is closed to new posts.