Hi Danilo! I think extending the WebsiteTreeConfiguration will be easier than trying to mess with the HTML/CSS of the tree...
Regards from Vienna, Richie -----Ursprüngliche Nachricht----- Von: [email protected] [mailto:[email protected]] Im Auftrag von Danilo Ghirardelli Gesendet: Mittwoch, 06. Juli 2011 01:32 An: Magnolia User-List Betreff: [magnolia-user] Customizing adminInterface. Hi all, I remember that there were a few posts on how to customize the adminInterface a little, but it seems I can't find the right keywords to retrieve them. What I'm trying to do is to hide (not simply disable but completely hide) the activation buttons and the import/export buttons from the website view in the admin interface for a specific user role (or even for everyone, this will be a very special install), from both the bottom bar and the right-click menu. The fastest way should be to add a custom css that puts a "display: none;" on those parts, but I don't know if it's possible to add it easily to the website tree without writing code, I think it's not possible (but maybe I missed something). Otherwise I think I would have to extend the WebsiteTreeConfiguration class, redefine the menus and remove everything is not wanted, and set my class in the tree definition in adminCentral. I suppose this is the right way, I just have to remember the modification if we ever use the workflow module or anything else that alters the WebisteTreeConfiguration class... Regards, Danilo. ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ---------------------------------------------------------------- ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
