Copied to clipboard

Flag this post as spam?

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


  • Mikael Axel Kleinwort 69 posts 312 karma points c-trib
    Jan 06, 2021 @ 07:32
    Mikael Axel Kleinwort
    0

    How to do: Reusable Content (Global Content) for Content Editors

    Dear Umbracoists,

    I am struggling to find a good way to create the possibility for content editors to create and use reusable content.

    I.e., a certain text block, or a widget like a call-to-action, appears on more than one page and content editor wants to store this in one location and use it from there, rather than duplicate the data or call a developer to create a hard-coded widget.

    Ideally, I would have a section in the content tree where content editors can create one document per global content item. In a content page, I can then have a block list where content editors can select block items from several block types (element doc types) AND ALSO from this reusable content.

    The way I found so far is to create an element type with a content picker which looks at the "global content" part of the content tree, and allow this element type in a blocklist, along with other allowed element types. This way, content editors can create a list of block content for new AND existing content.

    So the questions I have is:

    • has this already been "invented" for V8? I want to avoid reinventing the wheel. I saw that there is a feature called "Global Content" in Umbraco Uno, I guess I am looking for something like that for Umbraco CMS as a plugin

    • if there is no existing solution, is my approach a good one or is there a better / easier way?

    • in my solution, in the list of block ins the block list editor, content editors of course see the name of the "global content" element type, rather than the name of the selected global content item. How can I replace this with the data from a field of the global content element type, without doing angular stuff?

    Any insight into this is greatly appreaciated!

    Thank you, and have a good 2021.....

    Mikael

  • Huw Reddick 274 posts 857 karma points
    Jan 06, 2021 @ 08:48
    Huw Reddick
    0

    I use macros for providing simple widgets, like the ones below

    enter image description here

    There is also the Doc Type Grid Editor for more complex stuff.

  • Herman 1 post 71 karma points
    Jan 06, 2021 @ 10:50
    Herman
    0

    The out-of-the-box email content templates include eighteen mobile-optimized layouts and four best-in-class responsive templates designed by Behance artists. They correspond to the most current usages such as customer welcome messages, newsletters and reengagement emails, among others. They can easily be customized with your brands’ content to ease the process of designing emails from scratch.

    myccpay

Please Sign in or register to post replies

Write your reply to:

Draft