Is the data type reusable? (Not sure if this is the correct terminology) i.e. Can I create a new version of the data type calling it what I want. I have read the instructions, and maintained the bits that MUST NOT CHANGE.
The reason I ask is, as soon as I created the new instance the following happened:
The data in the config panel wouldn't save (I can save the data type, but as soon as the page is refreshed, the config content is gone)
I started getting (backend site wide) errors about a missing view called textstring.html
I also got more errors once it came to the front end, I won't list everything, as I am guessing there is a chance the answer to my first question is no, rendering everything else mute.
@Lee the Grid Editors tree is rendered by LeBlender package - it just render the tree nodes from the existing grid-editors in /config/grid.editors.config.js - both default grid editors and custom grid editors using LeBlender editor.
I completely forgot that had been extended by LeBlender.
At the moment I am going down the Macro route, but extending what's available under macros.
There are a few too many new things for me to learn here, and my head is fit for busting. Angular is a bridge too far when you have a bug (human bug that is).
I wish extending the Grid Editors was better documented with more working examples. The thing that bugs me is I can see 90% of the code is already written, it just needs accessed. My Angular skills are the main bit lacking here, I just can't bridge the gap.
I really need to build a library of easily reusable "plugins" for the Grid, so I can add specifically formatted things to the grid. I.e. adding a bootstrap rotator via the grid. (I have already coded that 3 different ways, it was one of the easy ones.)
System.NullReferenceException: Object reference not set to an instance
of an object. at
Umbraco.Core.Cache.HttpRequestCacheProvider.GetCacheItem(String
cacheKey, Func`1 getCacheItem) at
Our.Umbraco.DocTypeGridEditor.Helpers.DocTypeGridEditorHelper.ConvertValueToContent(String
id, String contentTypeAlias, String dataJson) at
ASP.Pageapppluginsdoctypegrideditorrenderdoctypegrideditorcshtml.Execute()
in
c:\inetpub\wwwroot\VillaUmbraco\AppPlugins\DocTypeGridEditor\Render\DocTypeGridEditor.cshtml:line
26 at System.Web.WebPages.WebPageBase.ExecutePageHierarchy() at
System.Web.Mvc.WebViewPage.ExecutePageHierarchy() at
System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext
pageContext, TextWriter writer, WebPageRenderingBase startPage) at
System.Web.Mvc.RazorView.RenderView(ViewContext viewContext,
TextWriter writer, Object instance) at
System.Web.Mvc.BuildManagerCompiledView.Render(ViewContext
viewContext, TextWriter writer) at
Umbraco.Core.Profiling.ProfilingView.Render(ViewContext viewContext,
TextWriter writer) at
System.Web.Mvc.HtmlHelper.RenderPartialInternal(String
partialViewName, ViewDataDictionary viewData, Object model, TextWriter
writer, ViewEngineCollection viewEngineCollection) at
System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper,
String partialViewName, Object model, ViewDataDictionary viewData)
at System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper
htmlHelper, String partialViewName, Object model) at
ASP.PageViewsPartialsgrideditorsbase_cshtml.Execute() in
c:\inetpub\wwwroot\VillaUmbraco\Views\Partials\Grid\Editors\Base.cshtml:line
20
For the mo both are removed (LeBlender and DTGE) to many issues throughout the back and frontend whilst installed. If I get a chance I will re-install later and see if I can trace any of the issues, might help someone in the future.
Reusable data type
Hi,
Is the data type reusable? (Not sure if this is the correct terminology) i.e. Can I create a new version of the data type calling it what I want. I have read the instructions, and maintained the bits that MUST NOT CHANGE.
The reason I ask is, as soon as I created the new instance the following happened:
The data in the config panel wouldn't save (I can save the data type, but as soon as the page is refreshed, the config content is gone) I started getting (backend site wide) errors about a missing view called textstring.html
I also got more errors once it came to the front end, I won't list everything, as I am guessing there is a chance the answer to my first question is no, rendering everything else mute.
This happened on Umbraco 7.4.3
Thanks
Stephen
Here is a quick screen grab in case it helps.
Hi Stephen,
I'd never seen the "Grid Editors" tree before, is that another package?
If so, I've no idea how DTGE is meant to work with it.
Thanks,
- Lee
@Lee the Grid Editors tree is rendered by LeBlender package - it just render the tree nodes from the existing grid-editors in /config/grid.editors.config.js - both default grid editors and custom grid editors using LeBlender editor.
/Bjarne
ah ok. Thanks Bjarne!
I'm not sure whether this is a DTGE or LeBlender issue... or a combination of both?
If anyone else has experience of DTGE playing nicely with LeBlender can help?
Thanks,
- Lee
I completely forgot that had been extended by LeBlender.
At the moment I am going down the Macro route, but extending what's available under macros.
There are a few too many new things for me to learn here, and my head is fit for busting. Angular is a bridge too far when you have a bug (human bug that is).
I wish extending the Grid Editors was better documented with more working examples. The thing that bugs me is I can see 90% of the code is already written, it just needs accessed. My Angular skills are the main bit lacking here, I just can't bridge the gap.
I really need to build a library of easily reusable "plugins" for the Grid, so I can add specifically formatted things to the grid. I.e. adding a bootstrap rotator via the grid. (I have already coded that 3 different ways, it was one of the easy ones.)
Thanks
Stephen
And just because I have it handy (found it in an open browser page), here is the error I was getting when on the front end:
Still broken with LeBlender removed:
For the mo both are removed (LeBlender and DTGE) to many issues throughout the back and frontend whilst installed. If I get a chance I will re-install later and see if I can trace any of the issues, might help someone in the future.
For now back to the basic grid offerings.
Thanks
is working on a reply...