ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

MSM and enforcing CP Themes

October 06, 2010 12:16pm

Subscribe [3]
  • #1 / Oct 06, 2010 12:16pm

    I’ve got a 1.6.x install running 2 sites via MSM, and I’d like each site to have a different CP theme. I set the preference in Admin > System Prefs > CP Settings > Default CP Theme. The problem is that this doesn’t change anything, since there is also a member-level CP Theme setting under My Account > Customize CP > CP Theme, that overrides the “Default CP Theme” setting. Finally, choosing the “Default” theme setting doesn’t honor the site’s CP Theme setting, since it’s referring to the theme called “Default”.

    How can I eliminate member preference in regards to CP Themes, forcing members viewing the CP to be subject to the site’s CP Theme setting, not their own setting in member prefs?

  • #2 / Oct 06, 2010 5:31pm

    Ingmar

    29245 posts

    When you say 1.6.x, does that mean 1.6.9? Are you using any extensions?

    How can I eliminate member preference in regards to CP Themes, forcing members viewing the CP to be subject to the site’s CP Theme setting, not their own setting in member prefs?

    The CP theme is a per-member setting. When you select a theme for your user and make these settings the master site default users would still be able to switch themes. There’s no way to lock them down, as it were, short of removing all other themes.

  • #3 / Oct 06, 2010 6:29pm

    1.6.7 at the moment. Plenty of extensions for various things, but this is not a bug I’m encountering.

    I want to have each MSM site have its own (slightly) customized CP theme, to differentiate between them easier. Is there no way to force member’s theme settings to use the site default instead of their own settings?

  • #4 / Oct 07, 2010 9:36am

    Sue Crocker

    26054 posts

    Not without making changes to the underlying code.

  • #5 / Oct 08, 2010 8:42am

    Bummer. I presume it’s too late for this to be a feature request for the 1.6 branch of either the member module or the MSM. Perhaps I’ll try using the site-specific CSS available via LG Add Sitename. Thanks anyways!

    EDIT: For future reference, using the CSS field in LG Add Sitename works for making MSM site-specific CP style changes. For one site on a MSM-enabled EE install, I wanted to change the CP header background to black and make the tabs a dark red, to match a client’s color scheme, and was able to do so without much hassle.

  • #6 / Oct 08, 2010 10:49am

    Ingmar

    29245 posts

    Thanks for sharing your solution with us, ProImage! Please don’t hesitate to post again as needed.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases