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...Skins, Themes, ...Skins, Themes, ...Admin Skin/Edit Content mode/normal skins and cachingAdmin Skin/Edit Content mode/normal skins and caching
Previous
 
Next
New Post
5/13/2008 8:06 PM
 

Hi,

I am working on a new skin for PokerDIY (see test.pokerDIY.com – not finished) and I am hitting the problem where the Admin skin loads a different skin to the normal skin. This means that when a normal user (ie. Not admin) edits any content (and this is all over the place on PokerDIY) – then it goes into Admin mode and does not load any of my content in the panes from the normal skin. I know this has been the architecture for many years, although I still don’t understand or see the point of it. Content should be abstracted from a skin and this limitation means that it is not possible to keep them separate.

The problem I have is that I added a few menus via Panes/Modules with the “Add to All pages” option as opposed to putting them directly into the skin. This allowed me to abstract it from the Skin so I could change it as I pleased with editing the skin, and I assumed that caching would be handled better if it was a module. So my questions are:

  1. If I put large chunks of HTML directly into the skin – is it cached as well as if I put it into a module? It’s going to be loaded on every page/request and this worries me a little.
  2. Is the architecture ever going to change? I would much prefer to have control what is loaded into the panes when it goes into this “Edit Content/Admin mode”.
  3. Is there a way to add modules to the panes while you are in EditContent mode (possibly hacking the DB?)

You can see what I mean on test.pokerDIY.com (skin developed by Salaro) – the top icons, top right X and the bottom links were all HTML modules that I have since had to move directly into the skin as they dissappeared whenever a user added a group/game/league etc. It created a terrible user-experience as half the skin changed.

Disclaimer – I have not kept up with Skinning changes and do not know much about this area ;)


Thanks,
Rodney
Smart-Thinker - Social Networking modules for DotNetNuke
The DotNetNuke Directory - Are you listed?
PokerDIY - Example Implementation of DNN Social Network
Do use DNN a lot? Try the DotNetNuke Toolbar to save you time!
 
New Post
5/14/2008 10:32 AM
 

Rodney,

I agree that the edit/admin skin issue thing is a bit of a pain, ok a real pain.  I have had to develop custom modules that do their editing in a different manner, just to get around this issue.

However, in your case, I'll answer your specific questions.

1. Personally putting it directly in the skin might be slightly faster and better for the server as it will reduce a need for a database call to load the content when the cache is expired.  From a user/download standpoint it will be the exact sam.

2. From what I have heard there is not many plans to change this, if it does change it could cause many modules to stop working, due to validator control issues just to name on possibility.  I would like to see it change, or maybe a module specific option to change the process but I'm not sure if it is in the works or not.

3. As far as I know this is NOT possible...but I could be wrong....


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
5/15/2008 10:05 AM
 

Do you have your site / host skin defaults set and if so is it the same as the rest of the site. That can help a bit, cause it should default with the menus etc that you have marked for every page. Granted it doesn't always work but its just something to check.

You are correct that putting the html in the skin can create a larger load but its not bad cause your really not putting much to begin with, and as stated it can save a trip to the server which is "slower" then loading a modest amount of text. Now if you get all crazy with tables then well we might need to talk, but just putting a few chuncks of html in is typically no biggie nowadays. No worse then adding an image that is fairly large.

 

 
New Post
5/15/2008 8:42 PM
 

Thanks for the comments guys - I really hope this architecture is reviewed one day!


Thanks,
Rodney
Smart-Thinker - Social Networking modules for DotNetNuke
The DotNetNuke Directory - Are you listed?
PokerDIY - Example Implementation of DNN Social Network
Do use DNN a lot? Try the DotNetNuke Toolbar to save you time!
 
New Post
5/16/2008 4:03 AM
 

I agree, that it would be best to have setting options for Admin skintainer per page as well, and also skin/container settings for printing, unfortunately these are only plans atm.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Admin Skin/Edit Content mode/normal skins and cachingAdmin Skin/Edit Content mode/normal skins and caching


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