Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Nikolaj Lund Jensen 2 posts 73 karma points
    Jun 08, 2016 @ 11:14
    Nikolaj Lund Jensen
    1

    Get grid editor alias

    Hi,

    I am facing a problem with Umbraco Grid editor / LeBlender.

    How do I get the value from "Grid editor alias" into my view? As you can see, I am using the Leblender model. enter image description here

    It seems that the grid editor alias is connected to Umbraco Grid and not to LeBlender. As far as I understand, this means that I cannot access the Grid editor alias from the leblendermodel.

    My view uses the following:

    @using ClientDependency.Core.Mvc
    @using Lecoati.LeBlender.Extension.Controllers
    @inherits UmbracoViewPage<Lecoati.LeBlender.Extension.Models.LeBlenderModel>
    

    Any help is much appreciated.

    Thanks.

  • Søren Kottal 702 posts 4497 karma points MVP 5x c-trib
    Jul 15, 2016 @ 21:11
    Søren Kottal
    0

    What do you need the alias for?

    To render the grid editor, you just need to create a view in /Views/Partials/Grid/Editors/gallery.cshtml

  • Mike Chambers 635 posts 1252 karma points c-trib
    Apr 26, 2017 @ 20:43
    Mike Chambers
    0

    Came across this.. I would like to get the editor name too.. basically to centralise the view requirement in a common view, with tiny alterations dependant on the editor name.

    Did you find any pathways to get the editor name?

Please Sign in or register to post replies

Write your reply to:

Draft