Skip to main content


Showing posts from October, 2016

Customising Umbraco's Default Grid Editors

Create a new directory in App_Plugins called anything you like.  This will be your "package" directoryCopy the web.config file that's inside the main "Views" directory (not your project's main web.config!) into your package directory.  This is needed for MVC to work properlyCreate a package.manifest file and put this in it (come back and modify these properties as necessary):

{ "gridEditors": [{ "name": "Speaker Portrait", "alias": "speakerPortrait", "view": "media", "render": "/app_plugins/yourpackagedir/MediaMarkup.cshtml", "icon": "icon-picture", "config": { "style": "height:270px; width:187px", "markup": ""<a class='image featured'>#value#</a>"" } }] } Find the .cshtml file for the editor you're modifying in \Views\Partials\Grid\Editors an…