Copied to clipboard

Flag this post as spam?

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


  • paco 25 posts 155 karma points
    Jan 13, 2021 @ 10:27
    paco
    0

    DocTypeGridEditor does not display the content of the doc type when i try to add it in the content

    Hi all,

    I have an Umbraco site recently migrated from version 7.5.6 to version 7.15.5.

    I am having several problems with DTGE; one has been solved:

    https://our.umbraco.com/packages/backoffice-extensions/doc-type-grid-editor/doc-type-grid-editor-feedback/104694-doc-type-grid-editor-for-umbraco-7155-and-net-framework-472

    Now, when I try to add one of the allowed document types in a content page in backoffice area, I am not able to see the content to edit (I don't see the fields to edit):

    enter image description here

    More precisely, I can choose one of the allowed doc type from the dropdown, but then, I see a blank panel on the screen, I click Save and then, I cannot edit the new doc type:

    enter image description here

    What is the problem? Should I update this plugin? Currently, my Umbraco version is 7.15.5 with .NET 4.7.2 and the DocTypeGridEditor plugin version is 0.3.0 (the same was installed in Umbraco 7.5.6).

    Here is my configuration for doc types in grid.editors.config.js:

     {
            "name": "Doc Type",
            "alias": "docType",
            "view": "/App_Plugins/DocTypeGridEditor/Views/doctypegrideditor.html",
            "render": "/App_Plugins/DocTypeGridEditor/Render/DocTypeGridEditor.cshtml",
            "icon": "icon-item-arrangement",
            "config": {
                "allowedDocTypes": [
                    "businessSolutions",
                    "bannerWithBackgroundImage",
                    "bannerWithWithExtendingImage",
                    "eventOrTraining",
                    "threeColumnContent",
                    "twoColumnContentWithVideo",
                    "homeNewsListing",
                    "twoColumnNewsListingWithImage",
                    "linkBoxesWithDownloadButtons",
                    "introductionText",
                    "pressRelease",
                    "bannerWithTopLogo",
                    "infoBoxes",
                    "oneColumnLinkToPage",
                    "sliderBoxes",
                    "threeColumnBoxesTitleWithImage",
                    "introductionTextFull"
                ],
                "nameTemplate": "",
                "enablePreview": true,
                "viewPath": "/Views/Partials/Grid/Editors/DocTypeGridEditor/",
                "previewViewPath": "/Views/",
                "previewCssFilePath": "/Views/Partials/Grid/Editors/DocTypeGridEditor/Previews/Css/dtge.css",
                "previewJsFilePath": "/Views/Partials/Grid/Editors/DocTypeGridEditor/Previews/Js/dtge.js"
            }
        }
    

    Thanks, Paco

  • Marc Goodson 2155 posts 14408 karma points MVP 9x c-trib
    Jan 13, 2021 @ 18:44
    Marc Goodson
    0

    Hi Paco

    Yes, I would upgrade DocTypeGridEditor to be version 0.6.1

    https://www.nuget.org/packages/Our.Umbraco.DocTypeGridEditor/0.6.1

    This is the most up to date version to work with Umbraco 7.15.6

    There will have been some changes in the Umbraco backoffice since 0.3.0 which may be causing the problems you are seeing.

    Once you have upgraded to 0.6.1 be sure to increase the version of the client dependency framework /config/clientdependency.config (increment the version number in that file by 1)

    This will ensure your Umbraco backoffice is loading the lastest assets for the upgraded plugin.

    Fingers Crossed!

    regards

    marc

  • paco 25 posts 155 karma points
    Jan 14, 2021 @ 09:07
    paco
    0

    Hello Marc,

    I have upgraded via Nuget the DTGE plugin, from 0.3.0 to 0.6.1; then I have incremented by 1 the "version" attribute of /Config/clientdependency.config file

    Then, I have restarted my site and logged in backoffice. Now, I have another problem: when I try to add another doc type in my grid editor, I see the "Click to insert item" message, but, even though I click on it, I cannot insert anything (see screenshot below):

    enter image description here

    What could be the problem now ? I have this problem only with doc types, the other components work fine.

    Thanks, Paco

  • Hon Guin Lee 5 posts 75 karma points
    Sep 21, 2022 @ 11:25
    Hon Guin Lee
    0

    I have this similar error in Umbraco 9 when deploying onto Azure.

Please Sign in or register to post replies

Write your reply to:

Draft