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
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
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.
Has anyone else come across this issue?
thanks.
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
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
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
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...