Copied to clipboard

Flag this post as spam?

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


  • Ross Ekberg 130 posts 381 karma points
    Dec 16, 2022 @ 20:36
    Ross Ekberg
    0

    Umbraco 8 Custom Section

    This is probably a dumb question, but when creating a new section, where do I save the files? I am trying to follow the tutorial provided by Umbraco (https://our.umbraco.com/documentation/Extending/Section-Trees/Sections/) and I am trying to do the "second" method of registering with c# type. From what I can tell, I need to create two class files, one with the 'section' logic and one with the 'composer' logic. So I have two class files. Where do I put them?

  • Tarik 196 posts 840 karma points c-trib
    Jan 31, 2023 @ 17:55
    Tarik
    0

    I see that like a bug to have plugin like that because a good package won't need a manual change from Startup.cs which exists on the Umbraco CMS project, I see to report that as a pull request when I have time.

    As an answer for you, I forward you to nathanwoulfe which I prefer too as solution for my Umbraco package in short is to create a package project to follow C# devs and maybe Nuget package when you plan for that.

Please Sign in or register to post replies

Write your reply to:

Draft