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.
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.
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.
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
Ah! Great news. Thanks Joe.