Copied to clipboard

Flag this post as spam?

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


  • Fabry 7 posts 57 karma points
    Apr 24, 2017 @ 13:50
    Fabry
    0

    Bug (?) using DTGE + Nested Content with multiple DocTypes

    Hi,

    maybe I'm wrong, but if I create a DTGE grid editor based on a doctype that uses Nested Content configured to use 2 doctypes, when I insert this new grid editor on a page, the "+" NC button does not work.

    If the same doctype based on NC I use for a page property (not grid layout), it works.

    If the NC is configured to use only one doctype then it also works with DTGE

    To reproduce the issue in local (Windows 10 v1607 build 14393.1066, IIS 10.0.14393.0):

    • download Umbraco zip from Our
    • install umbraco 7.5.13 without any starterkit
    • install Doc Type Grid Editor 0.4.0 package
    • install Nested Content 0.4.0 package

    • create a doc type without a template, named "Test A" (alias "testA") and with only one property (alias "text", datatype "Textstring")

    • create a doc type without a template, named "Test B" (alias "testB") and with only one property (alias "text", datatype "Textstring")

    • create a datatype named "Test Nested Content" with property editor "Nested Content" and Doc Types "Test A" + "Test B" (other setting at default)

    • create a doc type without a template, named "Test Grid Editor" (alias "testGridEditor"), with only one property (alias "testNC", datatype "Test Nested Content")

    • add in grid.editors.config.js

    { "name": "Test NC", "alias": "testNC", "view": "/App_Plugins/DocTypeGridEditor/Views/doctypegrideditor.html", "render": "/App_Plugins/DocTypeGridEditor/Render/DocTypeGridEditor.cshtml", "icon": "icon-wrench", "config": { "allowedDocTypes": [ "testGridEditor" ], "enablePreview": true, "viewPath": "/Views/Partials/Grid/Editors/", } },

    • create a datatype named "Grid layout" with property editor "Grid layout"

    • create a doc type named "Page", with only one property (alias "mainContent", datatype "Grid layout")

    • create a document of type "Page" in content, choose a "1 column layout", add a row "Headline", add a content "Test NC"

    By clicking the "+" button to add content, nothing happens.

    Am I wrong somewhere?

    Thanks, Fabry

  • Rasmus Fjord 675 posts 1566 karma points c-trib
    Jul 11, 2017 @ 09:59
  • Dave Clarke 15 posts 127 karma points
    Nov 30, 2017 @ 13:50
    Dave Clarke
    0

    I'm also seeing this issue on 7.7.4.

Please Sign in or register to post replies

Write your reply to:

Draft