Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
umb version 7.9.2
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 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 n (angular.min.js?cdv=687102336:7)
at k (angular.min.js?cdv=687102336:44)
at e (angular.min.js?cdv=687102336:40)
Has anyone else come across this issue?
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.
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.
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
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?
Just as a heads up, Stacked Content doesnt work in V8 for now.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted