Copied to clipboard

Flag this post as spam?

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


  • binaryfuel 2 posts 22 karma points
    Nov 10, 2017 @ 08:55
    binaryfuel
    0

    How To Add New Page Element Type

    Hi,

    I want to create a new Page Element type. I just want to add a new section to the list of available sections. I cannot figure out how to add a new section.

    I have created the partial view and doc type. It doesnt show up in the list of available Page Elements.

    Is there documentation on how to do this?

    I am new to Umbraco, long time professional dev.

    any help is appreciated. let me know if further clarification is needed

  • binaryfuel 2 posts 22 karma points
    Nov 10, 2017 @ 08:58
    binaryfuel
    0

    Nevermind.. All i had to do was add the "child Item" to the "Sections Folder" document type.

    SOLVED!

  • Sotiris Filippidis 261 posts 1338 karma points
    Nov 10, 2017 @ 09:02
    Sotiris Filippidis
    0

    Glad to hear! In order to get your new section working, though, you should go to the PageSectionRenderer.cshtml file and add your doctype and partial view there - see the rest of the code, it's very easy to figure out what to do.

Please Sign in or register to post replies

Write your reply to:

Draft