Copied to clipboard

Flag this post as spam?

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


  • Jojo V 64 posts 166 karma points
    Jul 29, 2020 @ 10:59
    Jojo V
    0

    Content picker in Grid Layout

    Hi,

    is it possible to add a block of content (from existing content) to a grid layout (similar to forms)?

    Example: I have a content type "panel" with text (lorem ipsum). I would like to add this "panel" to the "homepage" and "contact page" as a link to this content. When I edit the panel content, they will have updated "panel" content on the home page and contacts page.

    Thanks.

  • Marc Goodson 2157 posts 14431 karma points MVP 9x c-trib
    Jul 30, 2020 @ 06:10
    Marc Goodson
    100

    Hi Jojo

    Yes, but not 'out of the box' - you could create your own 'grid editor'

    https://our.umbraco.com/documentation/getting-started/backoffice/property-editors/built-in-property-editors/grid-layout/build-your-own-editor

    but the easy way to do this is to install the package Doc Type Grid Editor:

    https://our.umbraco.com/packages/backoffice-extensions/doc-type-grid-editor/

    This will allow you to define a new grid editor, based upon a document type...

    So you could create a new 'document type' that has just a content picker, configured to pick from a folder of 'Content Panels' and then you could implement the partial view for this editor to take the picked content item and render it how you'd like your panels to display inside the grid.

    Updates to the actual panel item, will update any of the grid pages that used the picked panel.

    regards

    marc

  • Jojo V 64 posts 166 karma points
    Jul 30, 2020 @ 10:41
    Jojo V
    0

    Nice, thx.

Please Sign in or register to post replies

Write your reply to:

Draft