Mobile View Menu

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.
7/15/2013 9:50:02 AM
Gravatar
Total Posts 29
Thomas N. TALESIS SARL Conseil / Expertise en développement DOTNET

Mobile View Menu

Hello,

I don't understand how the "Publish Mode" menu (in page settings) works.

The help screen says it requires the Site settings to have a Mobile view declared  to activate the menu filtering. I've did it all right.

But I can't make it work. A page with "Publish Mode" set to Mobile won't appear on desktop, but nor on mobile even with the mobile skin well activated . (And a page set to "Web Only" appears everywhere / not hidden with the Mobile skin)

It seems it miss something, may be a special menu control or option in the mobile version of the layout Master (I Use an artisteer template) ?

Or may be it requires the paid module Mobile Toolkit to work ? (which is not explain in the help)

Thanks for help,

Thomas.

7/15/2013 11:33:13 AM
Gravatar
Total Posts 18439

Re: Mobile View Menu

Hi Thomas,

The mobile view is determined by the user agent string which is intended only to detect smart phones. For tablets I recommend people to use responsive design techniques to make the main skin work well but for the small screens of phones a separate skin should be used to make optimization easier and to make the mobile skin lighter by leaving out css that is only for the main skin.

It does not depend on Mobile Kit Pro though it has a special menu control that is optimized for phones, the SiteMenu and PageMenu included in mojoPortal should filter out webonly content when the user agent detected is a phone.

However in looking into it I found that in the case where we are using the new FlexMenu control inside SiteMenu and PageMenu it was not setting the IsMobileSkin property on the FlexMenu therefore the FlexMenu was not filtering the content as it should for mobile. So there was a bug in this case. It is now fixed in the source code repository. FlexMenu is used now by default in most skins we ship and in Artisteer 4.1 skins exported with our latest plugin, you will see UseFlexMenu="true" on <portal:SiteMenu and <portal:PageMenu if it is used.

For those who cannot update from the source code, a workaround is possible by setting a theme.skin setting in the skin for mobile if using FlexMenu like this:

<portal:FlexMenu runat="server" SkinID="SiteMenu"
    IsMobileSkin="true"
...

/>

<portal:FlexMenu runat="server" SkinID="PageMenu"
    IsMobileSkin="true"
...
/>

But this should only be done if using a different skin for mobile, ie you would not want those settings in the non mobile skin.

Thanks,

Joe

7/16/2013 3:10:05 AM
Gravatar
Total Posts 29
Thomas N. TALESIS SARL Conseil / Expertise en développement DOTNET

Re: Mobile View Menu

Hello Joe,

it works perfectly now.

Thank you very much for your fast fix.

Thomas.

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