No, I never did.
But since Umbraco 10 we use BlockLists instead of Nested Content (Nested Content will not be available from Umbraco 14 if I'm correct).
With BlockLists you can make your own backoffice-template to show the element.
Yes, I would be using it for BlockList, but with the "inline" view which also uses name templates. You are correct that using a custom display template would allow colors to be shown. I was just hoping to keep it a bit simple. 🙂
HTML in a nested content name-template
Hi there,
I have a nestedcontent property on my site. Within the nested content element, there is a name and a color (via the eyedropper color picker).
I can show the name in the name-template with
I would like something like:
(with aditional css to make it a cube).
But it only shows the name as plain text.
Is it possible to add html/css somehow to this template?
I'd like to do the same thing! Did you ever come up with a solution?
No, I never did. But since Umbraco 10 we use BlockLists instead of Nested Content (Nested Content will not be available from Umbraco 14 if I'm correct).
With BlockLists you can make your own backoffice-template to show the element.
Yes, I would be using it for BlockList, but with the "inline" view which also uses name templates. You are correct that using a custom display template would allow colors to be shown. I was just hoping to keep it a bit simple. 🙂
Thanks for replying!
is working on a reply...