MobileKit Pro module editing (view settings prevents editing)

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
11/17/2014 6:10:07 PM
Gravatar
Total Posts 224

MobileKit Pro module editing (view settings prevents editing)

We are noticing a problem with the MobileKit Pro and editing modules. (latest version of mojo and mobilekit)

In many cases we create two modules on a given page, one for regular web browsers and another much more condensed module only for mobile viewing. Often this is easier to design for and allows a targeted message just for small screens.

The problem is that if you set a module on a page to MOBILE ONLY view then admins can no longer edit the module as it's hidden. Depending on permissions of the admin it can be possible to switch to mobile only for a module and never have a way to again access the module on the page.

Would it be possible for site admins to view mobile modules that are on a page? Maybe there could be a permissions setting or user.config change to allow this. I think all site admins would always want to see their mobile only modules that might be on a page, but there could be cases for both which is why I suggest a configurable setting.

Thoughts?

11/18/2014 12:59:44 PM
Gravatar
Total Posts 18439

Re: MobileKit Pro module editing (view settings prevents editing)

one way is you could add this setting in user.config

<add key="AllowMobileSkinForNonMobile" value="true" />

so that the mobile view link can be shown even if the mobile device is not detected, assuming that the desktop skin has the link in layout.master:

<portal:MobileSkinLink ID="mobileskin" runat="server" RenderAsListItem="true" />

then you could switch to mobile view from the desktop web browser and the edit link will be there

another way at least for Html content feature, admins and content admins should be able to edit it from content manager

11/18/2014 7:41:16 PM
Gravatar
Total Posts 224

Re: MobileKit Pro module editing (view settings prevents editing)

Possible workarounds I guess, although pretty clunky editing in mobile view and it would require a mobile link on the page. Using the content manager is impossible to say the least, especially in a 10k page site like this one, just a sea of modules to scroll through.

We'll keep using these options for now, was just something we noticed as being a little difficult. Thanks!

11/19/2014 11:04:02 AM
Gravatar
Total Posts 18439

Re: MobileKit Pro module editing (view settings prevents editing)

Ok, we could add a config setting to show mobile modules to admins/content admins, but toggling that setting would be recycling the app each time by touching web.config which I think would be undesireable.

What if we had a setting for MobileVisibleRoles that you could put in user.config, then say you create a custom role MobileEditors and put that as the setting, then changing back and forth between seeing them and not seeing them could be toggled by adding the user to the role or removing the user to the role. So when admins want to see it they would just add themselves to the MobileEditors role and when they were done they could remove themselves from the role. This role would not affect who can edit it would only affect whether the mobile module is shown on the non mobile page for that user.

Would something like that be a workable solution for you?

11/19/2014 8:57:05 PM
Gravatar
Total Posts 224

Re: MobileKit Pro module editing (view settings prevents editing)

I like the option of adding a role like that. It would give a lot of flexibility. I think my clients admins would always want to see the mobile modules (for editing purposes mainly). I suppose it could be confusing to see both modules, but as site content admins they would understand what they are doing.

Good idea if it can be done!

11/21/2014 7:42:12 AM
Gravatar
Total Posts 18439

Re: MobileKit Pro module editing (view settings prevents editing)

ok, after the next release it will be possible to add an appSetting RolesThatAlwaysViewMobileContent with semi colon separated role names. if you always want to see it you could put Admins;Content Administrators or you could use a custom role to more easily toggle a user in and out of the role to change their view.

Hope that helps,

Joe

11/24/2014 10:04:34 PM
Gravatar
Total Posts 224

Re: MobileKit Pro module editing (view settings prevents editing)

Thanks Joe, that will be great. A few beers on the way!

11/25/2014 11:59:25 AM
Gravatar
Total Posts 18439

Re: MobileKit Pro module editing (view settings prevents editing)

Thanks as always for the beers!

Look for the new release to ship sometime next week.

Cheers,

Joe

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