Modifying the admin interface [SOLVED]
Posted: Sat Oct 02, 2010 11:29 am
Hi all,
Is there a good description somewhere of how to modify the admin interface according to user category?
I am aware of the "Group permissions" panel (in menu "Users & Groups"), which is good, but doesn't allow for much detail (essentially only allows for hiding/showing panels).
But what if I want to change the label for one of the fields in a panel? Or if I want to disable/hide a certain field for a category of users?
An example: For a certain type of pages the content area ({content}) is used for displaying news and nothing else. So the content of that area in the admin panel would be something like:
{news number="3" summarytemplate="mynewstemplate" category="General"}
Since only an admin should be allowed to change this, I want to hide/disable the area for editors, designers etc. How can I do this? (I thought of CSS, obviously, but the fields don't have id's or classes that I can use.)
Another example: I want to to add an explanatory text to an admin panel, or to a particular field label in a panel. How do I do that? (Preferrably without having to worry about future updates of CMSMS overwriting my modifications.)
There may be very obvious solutions to these questions (and, as always, I am afraid of the flames..). I have searched, promise. And I have tried to learn. But I cannot come up with anything useful in this case. Please help.
Many thanks!
/ulf (who is not a PHP programmer)
Is there a good description somewhere of how to modify the admin interface according to user category?
I am aware of the "Group permissions" panel (in menu "Users & Groups"), which is good, but doesn't allow for much detail (essentially only allows for hiding/showing panels).
But what if I want to change the label for one of the fields in a panel? Or if I want to disable/hide a certain field for a category of users?
An example: For a certain type of pages the content area ({content}) is used for displaying news and nothing else. So the content of that area in the admin panel would be something like:
{news number="3" summarytemplate="mynewstemplate" category="General"}
Since only an admin should be allowed to change this, I want to hide/disable the area for editors, designers etc. How can I do this? (I thought of CSS, obviously, but the fields don't have id's or classes that I can use.)
Another example: I want to to add an explanatory text to an admin panel, or to a particular field label in a panel. How do I do that? (Preferrably without having to worry about future updates of CMSMS overwriting my modifications.)
There may be very obvious solutions to these questions (and, as always, I am afraid of the flames..). I have searched, promise. And I have tried to learn. But I cannot come up with anything useful in this case. Please help.
Many thanks!
/ulf (who is not a PHP programmer)