Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Filipe Sousa 43 posts 205 karma points
    Jan 27, 2020 @ 16:36
    Filipe Sousa
    0

    Customize datatype

    I'd like to have a Nested Content datatype with custom styling and text on the Umbraco V8 backoffice. I don't want to change the existing one as it is used on other properties. I'm using the Embedded Nested Content of Umbraco 8.4.

    How would you approach this? Is it worth:

    • Extending the existing Nested Content datatype? What's the best way to do this?

    • Should I just come up with some custom css and js? If so, what's the best way to load the js after the property finished rendering? I tried doing this in a Content App but the js file loads before the datatypes.

    Much appreciated,

  • Alex Skrypnyk 6175 posts 24186 karma points MVP 8x admin c-trib
    Jan 27, 2020 @ 22:17
    Alex Skrypnyk
    0

    Hi Filipe

    I would create a custom CSS file and add it to the nested content datatype.

    Alex

  • Filipe Sousa 43 posts 205 karma points
    Jan 28, 2020 @ 09:37
    Filipe Sousa
    0

    Thanks for he tip, Alex.

    I'm doing this, but the styling is dependent on the type of user, so I'd have to use js code too. This is where it gets tricky as I'm not sure when to load it.

    Cheers

Please Sign in or register to post replies

Write your reply to:

Draft