Force mojo into the mobile mode on a non-mobile browser

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
6/20/2012 8:01:30 AM
Gravatar
Total Posts 7

Force mojo into the mobile mode on a non-mobile browser

What is the best way to force mojo into the mobile "mode" on a non-mobile browser?

I have a requirement to have a "mobile" button on my non-mobile page to allow a user to toggle into mobile mode. I know there is a control that will allow you to do this once you are already on a mobile device (when the mobile device has been detected via the user agent string), and I am using it. But that only works when a mobile device is already in use. I need to allow mobile mode to be forced from a non-mobile device.

6/21/2012 1:56:11 PM
Gravatar
Total Posts 18439

Re: Force mojo into the mobile mode on a non-mobile browser

I've just implemented support for this, its in the source code repository now so it will be in the next release. You will be able to put this in user.config to enable it:

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

Best,

Joe

6/21/2012 2:59:19 PM
Gravatar
Total Posts 7

Re: Force mojo into the mobile mode on a non-mobile browser

Ah! Great news. Thanks Joe.

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