Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2010-12-07 23:55:16

keoshi
Member
From: Portugal
Registered: 2006-04-30
Posts: 53

Different CSS admin theme for different users — possible?

Hey gang,

What I’d like to know is, if you haven’t figured out by now, if it’s possible to apply different CSS admin themes to different users.
The goal is, of course, to hand the client a login and have a custom CSS for him. I know TextPattern has several user levels (and preferences accordingly), but I’d like to be able to hide from the client specific parts of the admin side.

Thanks

Offline

#2 2010-12-08 00:02:43

keoshi
Member
From: Portugal
Registered: 2006-04-30
Posts: 53

Re: Different CSS admin theme for different users — possible?

Would I be able to do that with smd_admin_themes? http://forum.textpattern.com/viewtopic.php?id=30952

Offline

#3 2010-12-08 00:03:04

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,942
Website GitHub

Re: Different CSS admin theme for different users — possible?

Take a look at smd_admin_themes. It allows you to configure a global “catch-all” theme as well as setting up per-user or per-privilege level themes from a subset of all installed themes.

The two places a user won’t see the theme they have chosen is on the Admin->Plugins panel and on the login page, because in both of those locations plugins are not permitted to run so it cannot find out what the user preference is. Thus in those two instances your users will see the ‘global’ default theme that you have assigned.

Hope that helps.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#4 2010-12-08 00:09:57

keoshi
Member
From: Portugal
Registered: 2006-04-30
Posts: 53

Re: Different CSS admin theme for different users — possible?

You’re the man. Thanks a bunch!

Offline

Board footer

Powered by FluxBB