Copied to clipboard

Flag this post as spam?

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


  • Brian 2 posts 71 karma points
    Apr 30, 2024 @ 13:04
    Brian
    0

    Just started learning Umbraco, I come from the Kentico world.

    I have a Document type of General Content that has a basic body field. I created a partial called HeroHeader that has other field. How do I go about adding that partial to only specific General Content Pages, I don't want it on every page. Do I add an item under that page? Or is there another route to go? Any direction would be great.

  • Sergey 6 posts 77 karma points
    May 06, 2024 @ 13:33
    Sergey
    0

    Hi, Brian

    There are two options I see:

    1. And most obvious, as you called it "only specific General Content Pages" then just create "Specific Content" document type for them (you can inherit it from your "General Content" if you wish to inherit fields from it.).
    2. Create BlockList or BlockGrid property for your page content, so you will be able to add any components in any order to it.
Please Sign in or register to post replies

Write your reply to:

Draft