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, ...How-to: Skin Admin ToolbarHow-to: Skin Admin Toolbar
Previous
 
Next
New Post
8/18/2006 7:58 PM
 

I found myself spending a huge amount of time skinning a DNN site and then there's this admin toolbar which was annoying me because it really doesnt fit into my design, yet there no way (at least from i can see) to provide a skin for it. So i had a bit of fun playing around with the css, and came up with this:

[ View Screenshot ]

Now i can manage my site in style! here's how its done:

Just add this code to your skin.css stylesheet:

#table2 a.commandbutton { padding: 2px 10px 2px 10px; margin-left: 5px; margin-right: 5px; text-decoration: none; text-align: center; vertical-align: middle; font-size: 11px; color: 333333; height: 19px; width: 45px; background-image: url('admin_button.gif'); background-repeat: norepeat; }
#table2 a.commandbutton:hover { color: #4580cd; }
#table2 td {  padding: 0px; }
#table2 td table td { padding: 0px; }
#table2 span.subhead { font-size: 0px; color: FFFFFF; }
#table2 label { font-size: 11px; font-weight: normal; height: 16px; color: 333333; }
#table2 table td input { display: none; }
#table2 table { margin-top: 3px; font-size: 0px; color: FFFFFF; }
#table2 input { margin-bottom: 2px; margin-right: 5px; }
#table2 { border-color: white; background-image: url('admin_tile.gif'); background-repeat: repeat-x; }

Then put this javascript at the bottom of your .ascx file:

<script type="text/javascript">
// Strip border from admin control bar
document.getElementById('Table2').style.borderWidth = '1px';
document.getElementById('Table2').style.borderStyle = 'Solid';
document.getElementById('Table2').style.borderColor = 'cccccc';
</script>

And put these images in your skin folder:

[ Download Background Image ]
[ Download Buttom Image ]

Now, the only thing left to do is set your admin toolbar style to classic by going to host settings > advanced settings > other settings > then select classic for 'control panel' dropdown.

 
New Post
8/18/2006 9:00 PM
 

Nice job!

That is the power of CSS right there....


DotNetNuke Modules from Snapsis.com
 
New Post
8/19/2006 2:32 AM
 
Dear jeffrey_vella

Nice... There are a lot of dnn-fellows that can use this... to manage the layout of there admin skin...

Vriendelijke groeten
Gilbert Vanden Borre
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...How-to: Skin Admin ToolbarHow-to: Skin Admin Toolbar


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