Hi Moritz, Yes, you can do this.
You will need to change the tree definition for the tree you are interested in. The trees are configured in the config workspace, for the website tree, for example, under config->modules/adminInterface/trees/website There you will find the "configurationClass" property, which is what you need to change. You will need to subclass the class info.magnolia.module.admininterface.trees.WebsiteTreeConfiguration, and set your subclass as the tree's configurationClass. In the Method prepareTree(), the columns for the tree are set up. Override this method in your subclass, and add a column for the data you want to show. See the methods TreeColumn.createMetaDataColumn() and TreeColumn.createNodeDataColumn() Regards from Vienna, Richard -----Ursprüngliche Nachricht----- Von: [email protected] [mailto:[email protected]] Im Auftrag von Moritz Rebbert (via Magnolia Forums) Gesendet: Freitag, 18. Jänner 2013 12:01 An: Magnolia User List Betreff: [magnolia-user] [backend] Add custom column in treeview Is it possible to add a custom column to show additional metadata in the treeview of the website in the magnolia backend? Next to "title" i would like to show an additional like "description" or "category" value, if such value is set in the content node. -- Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=66491fe9-b004-4666-8592-8f62278c762a ---------------------------------------------------------------- For list details, see http://www.magnolia-cms.com/community/mailing-lists.html Alternatively, use our forums: http://forum.magnolia-cms.com/ To unsubscribe, E-mail to: <[email protected]> ---------------------------------------------------------------- ---------------------------------------------------------------- For list details, see http://www.magnolia-cms.com/community/mailing-lists.html Alternatively, use our forums: http://forum.magnolia-cms.com/ To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
