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, ...Question about admin skinsQuestion about admin skins
Previous
 
Next
New Post
12/8/2007 7:23 PM
 

I'm not 100% sure what you are aiming for Joel or Steve but one way to get admin/public designs is to change content conditionally:

<% If DotNetNuke.Security.PortalSecurity.IsInRoles(PortalSettings.AdministratorRoleName) %>
      <div id="wrapper" class="admin">
<% else %>
      <div id="wrapper" class="public">
<% End If %>

Then use the awesome power of CSS and JS to change the design.

Credit: John Mitchell

 
New Post
12/10/2007 1:50 AM
 

Ok, so now I gotta ask.  What purpose does creating and assigning a specific "Admin" skin serve?  When looking to create some skins for personal use, the only real difference I saw was that the "Admin" skin only had the "content pane" and wasn't really very different from a "normal" skin.  So I created some skins that were a little more "liquid" so they could expand for the editing functions, and they seem to work perfecly well when assigned as both "portal" and "admin" skins.

That said, have I missed something?  Is there some great purpose for the "Admin" skins I have not understood?

TIA,
Clay

 
New Post
12/14/2007 1:50 PM
 

I have a similar question.

What is the best way to make sure that the DNN-Blue skin is always used when the host or admin is logged in??

Right now what happens for me is that the home page gets the custom skin, then moving to other pages while logged in as host/admin, I get either the DNN-Blue OR the custom skin.

Should my custom skin be only in the Portals/0 folder and not in the Portals/default folder??

Thank you, tom

 
New Post
12/14/2007 3:56 PM
 

clay wrote

That said, have I missed something?  Is there some great purpose for the "Admin" skins I have not understood?

In your description, the admin skin is interchangable with the portal skin.  But what if your portal skin included a menu on the left you didn't want in your admin skin?  Or graphics on a horizontal menu that didn't expand nicely when the Admin and Host menu options appear?  The admin skin is there for a reason, but nobody says it has to be different than your standard skin.

Jeff

 
New Post
12/14/2007 8:12 PM
 

Thanks for the input Jeff.  My personal preference is to design a little better so that if using a horizontal menu, it scales properly and I make sure anyone using it knows it's scalability limits.  You can break anything and often people try to push too much into a single area in a skin, but designing a more fluid skin allows for the two administrative menu items to fit in fairly well, without major problems.

I use left menus most of the time and break the menu structure into two areas.  The admin items then appearing in the left menu and don't see any issue there at all.  I will think about what affect images might have, but if those are the only reasons for an admin skin, i'll probably keep skipping that.

I do appreciate the input though.

Clay

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Question about admin skinsQuestion about admin skins


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