Copied to clipboard

Flag this post as spam?

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


  • surfernet 10 posts 81 karma points
    Apr 24, 2021 @ 16:43
    surfernet
    0

    my mistake and angular does not work?

    Hi all, I have a problem , I am reading this section of the documentation: https://our.umbraco.com/documentation/Extending/Section-Trees/trees, enter image description here

    "currentNode.name" is not valued ,

    the path : delete.html path

    here the text into delete file :

    <div class="umb-dialog umb-pane" ng-controller="Our.Umbraco.FavouriteThings.DeleteController">
        <div class="umb-dialog-body">
            <p class="umb-abstract">
                Are you sure you want to delete this favourite thing: <strong>{{currentNode.name}}</strong> ?
            </p>
            <umb-confirm on-confirm="performDelete" on-cancel="cancel">
            </umb-confirm>
        </div>
    </div>
    

    here the package.manifest enter image description here

    here the text of package.manifest :

    {
    "javascript": [
        "~/App_Plugins/favouriteThings/favouriteThings.resource.js",
        "~/App_Plugins/favouriteThings/backoffice/favouriteThingsAlias/edit.controller.js",
        "~/App_Plugins/favouriteThings/backoffice/favouriteThingsAlias/delete.controller.js"
    ]
    

    }

    I hope some help, thanks a lot

  • surfernet 10 posts 81 karma points
    Apr 25, 2021 @ 13:41
    surfernet
    1

    I have found error : I have registered two times a custom section using package.manifest and also creating a C# class that implements ISection ,than k you

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies