v15 - Extend Content tree items
# help-with-umbraco
m
Do anybody has an example or starting point in "documentation" where I can get inspired to be able to add for example a circle after the name of a tree item if some condition is true. I do not want to make my own full blown content tree extension. I only want to hook into where the name of the items is rendered. https://cdn.discordapp.com/attachments/1315674335561650197/1315674336132202516/image.png?ex=675844b5&is=6756f335&hm=0c1cea6f0769af2e7111b5d982dcb76681860028d51825f9c46bef03c2a2a7d1&
s
In the old backoffice there was an event you could listen too, but this doesn't exist any more. You could probably do it with middleware in asp.net core, if you don't want to go "full blown content tree extension".
m
If possible to do it by js extensions it would be nice. Think that @Niels Lyngsø or @Jacob Overgaard showed at a Umbraco Meetup in CPH in the spring how easy it was to extend the backoffice component. Right in the console of the browser it was possible to add a new button in a umbraco block.
n
Hi @Mikkel Johansen I love this idea and its one that we as well have been talking about over the years — it would be nice to append visuals to items of the tree. So extension get a room to show statuses and we actually need this our selfs as you may noticed that Scheduled Items are lacking a indication from v.14+. When this will come I'm not sure, but for now it is surely something you would have to add on your own.
m
I and not at least our editors will be looking forward to such a awesome feature 🙂 Hope you will get it in a sprint in a near future.
p
I think uMarketingSuite does this? Maybe @Corné Hoskam has some special insights? 😉
c
In <=V13 we're doing some 'hacky' things to replace the DOM elements/angular template, but unfortunately no insights from me on anything v14+ related just yet, sorry!
11 Views