Copied to clipboard

Flag this post as spam?

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


  • Ismael 71 posts 354 karma points
    Apr 12, 2018 @ 01:31
    Ismael
    0

    DTGE inside Nested content - fails.

    umb version 7.9.2

    Hi,

    I have a Nested Content property that contains a grid, that grid contains a DTGE property.

    I can add an NC item and within its grid add the Dtge item - that's fine, however if I then collapse the NC item then expand it again the Dtge is suddenly blank, if select the Dtge item, the slide-out overlay panel is empty.

    The following errors appear in the browser console.

    angular.min.js?cdv=687102336:63 TypeError: Cannot read property 'allowedDocTypes' of undefined
        at Object.$scope.setDocType (doctypegrideditor.controllers.js?cdv=687102336:51)
        at angular.min.js?cdv=687102336:74
        at angular-mobile.js?cdv=687102336:270
        at Object.$eval (angular.min.js?cdv=687102336:92)
        at Object.$apply (angular.min.js?cdv=687102336:92)
        at HTMLDivElement.<anonymous> (angular-mobile.js?cdv=687102336:269)
        at HTMLDivElement.dispatch (jquery.min.js?cdv=687102336:3)
        at HTMLDivElement.r.handle (jquery.min.js?cdv=687102336:3)
    (anonymous) @ angular.min.js?cdv=687102336:63
    (anonymous) @ angular.min.js?cdv=687102336:54
    $apply @ angular.min.js?cdv=687102336:92
    (anonymous) @ angular-mobile.js?cdv=687102336:269
    dispatch @ jquery.min.js?cdv=687102336:3
    r.handle @ jquery.min.js?cdv=687102336:3
    angular.min.js?cdv=687102336:63 TypeError: Cannot read property 'docTypeAlias' of undefined
        at c.<anonymous> (doctypegrideditor.controllers.js?cdv=687102336:234)
        at d (angular.min.js?cdv=687102336:28)
        at Object.instantiate (angular.min.js?cdv=687102336:28)
        at angular.min.js?cdv=687102336:53
        at angular.min.js?cdv=687102336:44
        at n (angular.min.js?cdv=687102336:7)
        at k (angular.min.js?cdv=687102336:44)
        at e (angular.min.js?cdv=687102336:40)
        at angular.min.js?cdv=687102336:39
        at angular.min.js?cdv=687102336:158
    

    Has anyone else come across this issue?

    thanks.

  • Dave Woestenborghs 3504 posts 12134 karma points MVP 9x admin c-trib
    Apr 12, 2018 @ 05:59
    Dave Woestenborghs
    1

    Hi Ismael,

    Why do you have a grid in a Nested Content if I may ask. Personally I think this is a very strange approach. So I woul like to know the use case.

    Maybe there is a better solution for it.

    Dave

  • Ismael 71 posts 354 karma points
    Apr 12, 2018 @ 19:09
    Ismael
    0

    Hi Dave,

    Yeah, the doctype i'm using for my nested content contains a grid. The layout the client is after consists of blocks which can have a configurable background colour, special icon, heading colour, and various columns of content/dtge components.

    I could almost achieve that with the grid alone but it was quite cumbersome, and not very intuitive.

    I've started looking at using Stacked Content now, looks like it may be a better solution but as there are no docs, I'm just trying to figure out what i can/can't do with it.

    Thanks

  • Dave Woestenborghs 3504 posts 12134 karma points MVP 9x admin c-trib
    Apr 13, 2018 @ 05:56
    Dave Woestenborghs
    0

    Hi Ismael,

    I really think using the grid inside nested content is bad UX for the content editor. They will have really hard time finding the content they want to edit.

    So using stacked content is probably a better option

    Dave

  • Matt Barlow | jacker.io 164 posts 740 karma points c-trib
    Sep 14, 2019 @ 17:54
    Matt Barlow | jacker.io
    0

    I have a client that has implemented content in the same way as this. @Ismael did you come up with a solution for this?

    Did you end up using stacked content?

  • Claushingebjerg 939 posts 2574 karma points
    Sep 16, 2019 @ 09:36
    Claushingebjerg
    0

    Just as a heads up, Stacked Content doesnt work in V8 for now.

Please Sign in or register to post replies

Write your reply to:

Draft