HomeHomeUsing DotNetNuk...Using DotNetNuk...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 6: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 8: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 C# MVP, MCITP
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 Consulting Quotes, and DNN Technical Support Services

I recommend PowerDNN and 3Essentials for DotNetNuke Hosting and BaseCamp for project management
 
New Post
5/15/2008 8: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 6: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 2: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   European Network of DotNetNuke Professionals

 
Previous
 
Next
HomeHomeUsing DotNetNuk...Using DotNetNuk...Skins, Themes, ...Skins, Themes, ...Admin Skin/Edit Content mode/normal skins and cachingAdmin Skin/Edit Content mode/normal skins and caching


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

Attend A Webinar
Free Demo Site
Download DotNetNuke Professional Edition Trial
Have Someone Contact Me

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

DotNetNuke Scoop!

Sponsors

DotNetNuke Corporation

DotNetNuke Corp. is the steward of the DotNetNuke open source project, the most widely adopted Web Content Management Platform for building web sites and web applications on Microsoft .NET. Organizations use DotNetNuke to quickly develop and deploy interactive and dynamic web sites, intranets, extranets and web applications. The DotNetNuke platform is available in a free Community and subscription-based Professional and Enterprise Editions with an Elite Support option. DotNetNuke Corp. also operates the DotNetNuke Store where users purchase third party apps for the platform.