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
Hey
As the topic states, i need somehow to be able organize the Grid Editor partial views in sub folders inside the "~\Views\Partials\Grid\Editors".
when i try to do something like: "~\Views\Partials\Grid\Editors\ContentEditors\SomeSweetEditor.cshtml"
i get the following error message inside the grid editor in umbraco backoffice:
"Something went wrong with this editor, below is the data stored:"
Do i do something wrong or does leblender not read view files inside subfolders ? since this will help organizing big numbers of grid editors.
You should be able to tell Umbraco where to look for the partial view in your package.manifest file:
{ gridEditors: [ { "name": "SomeSweetEditor", "alias": "somesweeteditor", "view": "/App_Plugins/SomeSweetEditor/SomeSweetEditor.html", "render": "Path/To/View/Here", "icon": "icon-link" } ] }
I don't know if this works with LeBlender though I'm afraid.
You can define your custom render path in the render field:
After updating to the the new version 1.0.8, it finally started working, used that way of filling out the render information all the time, but seems it started working after updating.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Custom Grid Editors in sub folders
Hey
As the topic states, i need somehow to be able organize the Grid Editor partial views in sub folders inside the "~\Views\Partials\Grid\Editors".
when i try to do something like: "~\Views\Partials\Grid\Editors\ContentEditors\SomeSweetEditor.cshtml"
i get the following error message inside the grid editor in umbraco backoffice:
"Something went wrong with this editor, below is the data stored:"
Do i do something wrong or does leblender not read view files inside subfolders ? since this will help organizing big numbers of grid editors.
You should be able to tell Umbraco where to look for the partial view in your package.manifest file:
I don't know if this works with LeBlender though I'm afraid.
You can define your custom render path in the render field:
After updating to the the new version 1.0.8, it finally started working, used that way of filling out the render information all the time, but seems it started working after updating.
is working on a reply...