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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListSet edit container skinSet edit container skin
Previous
 
Next
New Post
7/8/2008 12:07 AM
 

Sebastian Leupold wrote

unfortunately, the separtion of admin modules is not bundled with additonal layout options.

I know.  I was just saying that it appears to be the first step in the right direction.


Will Strohl

Upendo Ventures Upendo Ventures
DNN experts since 2003
Official provider of the Hotcakes Commerce Cloud and SLA support
 
New Post
3/1/2012 4:11 PM
 
I know this is a really old thread, but as of DNN 6.1, this is still an issue, and it does not look very professional to the outside world to have the skin change when a user goes to edit a Form and List item. We have come up with a very simple work around that someone might find beneficial.

DNN is programmed to look for a skin in a cookie named _SkinSrc{portalID} where {portalID} is your actual portal ID. If is finds this cookie with a skin defined, it will use that skin every time a page is loaded overriding the skin you set at the page level.

By setting a skin in a cookie, DNN effectively does the same thing as setting a skin via a query string. As many of you already know, you can override a page's skin by adding a query string parameter to the end of a DNN URL such as this:
&SkinSrc=Portals\_default\Skins\MySkin


To set the cookie, add this to the Header of the Form and List module (Manage/Settings/Module Settings/Advanced Settings):



There are several placeholders in the code above where you need to substitute your own values as explained below:

{portalID} is the ID of your portal. Which you can find by going to Host,Site Management and looking at the Site ID for the given portal.

{skinPath} is the path to the Skin your want to reference

{pagePath} is the path to the page where your Form and List is.

Here is an example with real values filled in


This effectively does the same thing that would have been accomplished had you added the following query string parameter to the URL:
&SkinSrc=Portals\_default\Skins\MyFolder\MySkin

There is one caveat. The skin will be applied to the page represented by the "Path" defined in the cookie AND TO ALL child pages under that page. This includes the Form and List's "Edit" page, but, it also includes all admin pages for that page, such as the "Page Settings" page.

To minimize the effect, just don't create any child pages under any page where you use this method.

We came up with a slightly more elegant method by wrapping this functionality into a module which figures out all the parameters for the cookie so that we just add to the page whenever we add an Form and List module that will allow editing

Unfortunately, that would be too much to explain here.

Hope this helps someone.

 
New Post
3/2/2012 1:25 PM
 
When visiting DNN engineering team near Vancouver BC arlier this week, I had the chance of talking to DNN architext Israel Martinez about this subject and it was added to the roadmap for one of the next versions.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListSet edit container skinSet edit container skin


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