Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Mobile DNN question - How to show a different skin in Edit modeMobile DNN question - How to show a different skin in Edit mode
Previous
 
Next
New Post
3/22/2010 2:21 AM
 

I am working on a mobile version of PokerDIY without using MobiNuke. 

I have a stripped down skin and a mobile UI for my league module here. The problem is that when a user is viewing it and they edit their league the Edit mode shows the Portal Admin skin, which tries to load the complete menu etc. I want it to show the mobile skin (even if it is the mobile skin Admin skin) when viewing these certain pages (at the moment there are no fancy useragent checks - if you are viewing these pages you see the scaled down, low-bandwidth site. It is the same portal (most modules need to be on the same portal to access the same data - making a child portal/sub portal and changing the Admin skin is not an option.

Rearchitecting the module to use my own edit screens is not feasible (I use hundreds of different modiles on PokerDIY).

So - how do I make it so that when you go into Edit mode on these certain pages it shows the MobileAdmin skin and not the portal admin skin?


Entrepreneur

PokerDIY Tournament Manager - PokerDIY Tournament Manager<
PokerDIY Game Finder - Mobile Apps powered by DNN
PokerDIY - Connecting Poker Players

 
New Post
3/22/2010 6:58 PM
 

You could try this: use the same skin but load a different CSS file based on the page you are editing.
With that CSS file you hide what you don't want to show or change the style.

Or you could even hide parts of the admin skin using this:

<%if regex.isMatch(PortalSettings.ActiveTab.TabPath, "Mobile") %>

 
New Post
3/22/2010 7:45 PM
 

Great starting point - thanks Timo - I'll try that. I wish the DNN core could change this architecture - it's been around for 6 years and time for an upgrade... if Tabs could chose their OWN Edit skin too that would be a quick and simple solution...

I wonder if from a code POV I could write a module to update the setting when viewing those pages... a bit hacky..


Entrepreneur

PokerDIY Tournament Manager - PokerDIY Tournament Manager<
PokerDIY Game Finder - Mobile Apps powered by DNN
PokerDIY - Connecting Poker Players

 
New Post
3/22/2010 8:15 PM
 

I raised a Gemini request/suggestion to make this possible. If you are doing a separate mobile skin for DNN you WILL hit this problem so please comment on it if you think it is useful...

 also think it is a fairly low risk, simple solution...


Entrepreneur

PokerDIY Tournament Manager - PokerDIY Tournament Manager<
PokerDIY Game Finder - Mobile Apps powered by DNN
PokerDIY - Connecting Poker Players

 
New Post
3/23/2010 6:37 AM
 
I noticed that when you are in edit mode you can still hack on the View Skin code eg. http://www.pokerdiy.com/mob/game/ctl/editgame/mid/2902/lgid/2630.aspx?skinsrc=[l]skins/pokerdiymob/home This then displays the edit form with the same skin - the problem is - how to hack on this variable on all edit forms.... maybe URL Master can do something like this..

Entrepreneur

PokerDIY Tournament Manager - PokerDIY Tournament Manager<
PokerDIY Game Finder - Mobile Apps powered by DNN
PokerDIY - Connecting Poker Players

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Mobile DNN question - How to show a different skin in Edit modeMobile DNN question - How to show a different skin in Edit mode


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out