Overriding Mobile Skin

A place for discussion about skinning and design. Before posting questions here you should review the documentation about creating skins.

This thread is closed to new posts. You must sign in to post in the forums.
1/30/2014 11:30:21 PM
Gravatar
Total Posts 183
Community Expert

mojoPortal Hosting & Design @ i7MEDIA!

Overriding Mobile Skin

Hey Joe,

I've run into an issue when using a mobile-specific skin, where I have an iframe that is loading a page which only contains a form (because Form Wizard Pro does page-wide validation so I must wrap my second form in an iframe for it to work), and I want that iframe to load with a different skin than the site wide mobile skin.

I'm trying something like this:

<iframe src="/formpage?skin=formskin" ></iframe>

But the iframe still loads with the standard site wide mobile skin on mobile devices. Is there a way to override the mobile skin for that iframe, or for me to have two Form Wizard Pro instances without their validation clashing?

Thanks,
-Isaac

1/31/2014 8:33:28 AM
Gravatar
Total Posts 1992

Re: Overriding Mobile Skin

Hey Isaac,

We had a similar task with a site a while back where we didn't want the site mobile skin to apply to a particular page. There is a web.config setting which allows entry of a comma-separate list of values for pages which shouldn't use the site-wide mobile skin. The setting is: <add key="MobileDetectionExcludeUrlsCsv" value="/friendly-url-goes-here,/another-friendly-url-here"/>

I'm not sure if it's the best option in this case but at least it would prevent the page from using the mobile skin at all which would allow the skin query parameter to work properly.

Thanks,
Joe D.

6/18/2014 1:03:17 PM
Gravatar
Total Posts 23

Re: Overriding Mobile Skin

Hi Joe,

Does this key need to be in a specific area of the web.config?  Does it require the latest version of MojoPortal?  I'm running 2.3.9.9 and this setting doesn't seem to be working.

Thanks for any guidance that you can provide.

Rob

6/20/2014 8:03:08 AM
Gravatar
Total Posts 23

Re: Overriding Mobile Skin

Looks like this setting was introduced in 2.4.0.0

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