ooto.info

Finally up on CS2007 - getting ready for 2008 - it is AMAZING!

Unskin your Control Panel

I deal with this on almost every CS implementation I work on.  We start tweaking the common.css and our control panel goes crazy: our nav buttons get fat, the colors start changing in random ways...

You've probably experienced this if you've ever skinned a CS2.1 or older site.  The reason for this is that the control panel master page includes the common.css file.  That's fine but how about getting the original look back in the control panel?

To keep from skinning your control panel when you skin your site, you just need to make a copy of your original common.css file and update your controlpanelmaster.ascx file.

Make a copy of an unmodified /themes/default/style/common.css and name it something like cpcommon.css (for control panel, clever, huh?).  Drop the copied file in the style directory of your theme.  Now edit your controlpanel master file in  /themes/[skinname]/masters/ControlPanelMaster.ascx and find the reference to "Common.css" and change the reference to cpcommon.css.

That's it - no more fat nav buttons or funky control panel colors (unless, of course, you're into that sort of thing).

Comments

Chris Lotter said:

Good tip!

I do this too - I got the tip from someone in the CS community.  It's way better than having to theme the control panel if you make your own theme.  Much better things to do with my time! :)

Don't foget to update the cpcommon.css file if a service pack or some other update has a newer version in it.

# December 15, 2006 7:17 AM

Community Server News said:

I deal with this on almost every CS implementation I work on. We start tweaking the common.css and our

# December 16, 2006 2:46 PM

SK said:

I have a different problem...we have our Corporate navigation on your CS(Home,Blogs,Forums,Photos etc) when user is in Blogs section we want user to post a new blog, now we know how this can be done by changing the permissions in the control panel etc., but when user clicks on a link add new post it is jumping into control panel navigation now we don't want to do that we want the user to be in blogs section but we just want left navigation(common tasks,manage content, gloabl settings) and right side write blog post section. We don't want header,myblogs,my phots,myfiels) this navigation is changing the look and feel of the site and user is in completely different section...

now what i want from experts like you guys is able to user just left and right sections in a new page or expose them within the blogs section...

any ideas or suggestions will be great.

# February 9, 2007 6:21 AM

Matt Morrison said:

Great tip, this saved me a headache; thanks ;)

# February 15, 2007 8:17 AM

Albina-sz said:

<a href=  ></a>

# June 5, 2008 5:33 PM

Albina-hi said:

<a href=  ></a>

# June 5, 2008 5:34 PM

Albina-ke said:

<a href=  ></a>

# June 5, 2008 5:38 PM

Albina-ke said:

<a href=  ></a>

# June 5, 2008 5:38 PM

Albina-em said:

<a href=  ></a>

# June 5, 2008 5:38 PM

Albina-ls said:

<a href=  ></a>

# June 6, 2008 5:31 PM

Albina-gs said:

<a href=  ></a>

# June 6, 2008 5:31 PM

Albina-zi said:

<a href=  ></a>

# June 6, 2008 5:35 PM

Albina-lr said:

<a href=  ></a>

# June 6, 2008 5:35 PM

kuper said:

FyCNPp hf6Snb9Ula10Hdf74n

# September 18, 2008 6:28 AM

Albina-ej said:

<a href= aseeds.one.angelfire.com >transvestite rockstar</a>

# November 8, 2008 11:55 PM

Albina-tp said:

<a href= aseeds.one.angelfire.com >transvestite rockstar</a>

# November 8, 2008 11:56 PM

Albina-wb said:

<a href= http://chufut.angelfire.com >bbr brakepedal</a>

# November 9, 2008 6:20 AM

Albina-ch said:

<a href= http://chufut.angelfire.com >bbr brakepedal</a>

# November 9, 2008 6:22 AM

Albina-bp said:

<a href= http://vetrin.angelfire.com >physicians in beverly hills michigan</a>

# November 9, 2008 11:19 AM

Albina-mm said:

<a href= http://vetrin.angelfire.com >physicians in beverly hills michigan</a>

# November 9, 2008 11:21 AM

Albina-dn said:

<a href= lizard-masterm.angelfire.com >goldsmiths golf</a>

# November 9, 2008 4:37 PM

Albina-ws said:

<a href= aseeds.one.angelfire.com >transvestite rockstar</a>

# November 15, 2008 8:42 PM

Albina-dt said:

<a href= aseeds.one.angelfire.com >transvestite rockstar</a>

# November 15, 2008 8:44 PM

Albina-pc said:

<a href= http://chufut.angelfire.com >bbr brakepedal</a>

# November 16, 2008 1:29 AM

Albina-ae said:

<a href= http://vetrin.angelfire.com >physicians in beverly hills michigan</a>

# November 16, 2008 7:24 AM

Albina-dp said:

<a href= http://vetrin.angelfire.com >physicians in beverly hills michigan</a>

# November 16, 2008 7:28 AM
Leave a Comment

(required) 

(required) 

(optional)

(required)