Copied to clipboard

Flag this post as spam?

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


  • RUSLAN LUNEV 5 posts 75 karma points
    Mar 02, 2016 @ 14:37
    RUSLAN LUNEV
    0

    Adding Existing Property Editors as Grid Editor

    Hi, It seems that it should be relatively simple to add existing propertyEditor such as FileUpload (in my case) but there are no documented steps to do so. Is this even possible. I would think yes. Why recreate an editor if you can just point to existing one and implement it in the Grid Layout? All the videos and documentation I have see so far tell you how to create a new Grid Editor or Modify config of existing one. Can anyone please point me(community) to the steps on hooking up the existing common or plug in property editor as grid editor please?

    I think everyone will benefit from this.

  • Dennis Aaen 4499 posts 18254 karma points admin hq c-trib
    Mar 02, 2016 @ 21:28
    Dennis Aaen
    0

    Hi Ruslan,

    Have you seen the documentation about the grid layout and how you can create grid editors

    https://our.umbraco.org/documentation/getting-started/backoffice/property-editors/built-in-property-editors/Grid-Layout/build-your-own-editor

    And we also have a video chapter on Umbraco TV about grid editors https://umbraco.tv/videos/umbraco-v7/implementor/fundamentals/grid-layouts/introduction/

    https://our.umbraco.org/documentation/getting-started/backoffice/property-editors/built-in-property-editors/Grid-Layout/grid-editors

    I recommend you not to made changes to the Umbraco core js files because if you upgrade your Umbraco installation then you need to remember to do the changes again.

    Hope this helps,

    /Dennis

  • RUSLAN LUNEV 5 posts 75 karma points
    Mar 02, 2016 @ 21:31
    RUSLAN LUNEV
    0

    Hi Dennis, Thanks for quick reply. I don't need to create new editors I just need to add existing property editors as grid editors. I've seen this answer to many question and it is not really specific to what I am asking.

    So I still need help with this. Ruslan

  • Dennis Aaen 4499 posts 18254 karma points admin hq c-trib
    Mar 02, 2016 @ 21:41
    Dennis Aaen
    0

    Hi Ruslan,

    I think this explains how you can use the build in data types in your gird layout.

    https://our.umbraco.org/documentation/getting-started/backoffice/property-editors/built-in-property-editors/Grid-Layout/grid-editors

    {
        "gridEditors": 
        [
            {
                "name": "Rich text editor",
                "alias": "rte",
                "view": "rte",
                "icon": "icon-article"
            }
        ]
    }
    

    In the example above we are using the rich text editor view. And you can have a look in the /config/grid.editors.config.js

    Hope this helps,

    /Dennis

    /Dennis

  • RUSLAN LUNEV 5 posts 75 karma points
    Mar 03, 2016 @ 00:36
    RUSLAN LUNEV
    0

    The example in the documentation shows how built in views are referenced. Can you try to add common File Upload property editor using the steps included in this documentation? If it works for you and you can see it as grid editor and actually render content using it please let me know. Based on this article it should not take you more then 5 minutes. So far I did not come across anything that would point me how to wire common property editors as grid editor. I just don't see the point of creating a new grid editor if there is a way to wire up the existing once just like rte example.

    Still need help...

  • RUSLAN LUNEV 5 posts 75 karma points
    Mar 08, 2016 @ 15:06
    RUSLAN LUNEV
    0

    Is this how it works here?:) I am given two answers and if that does not resolve my issue I am on my own?

    Dennis, Did you try to apply your recommendations to implement what I am trying to do? Anybody else is having this issue?

  • Martin Almström 33 posts 159 karma points
    Mar 08, 2016 @ 15:12
    Martin Almström
    0

    Hi,

    I don't think there is an easy way to do this. The property editors you talk about doesn't have any grid layout/view. Property Editors exist in a page layout, but the grid editors have their own layout surrounding them to be able to exist inside the grid.

    This surrounding layout allows the editor to be able to be drag-n-dropped etc.

    I think you have to wrap them in a grid editor (if possible) to get them to work.

    But I could be wrong.

    /Martin

  • Martin Almström 33 posts 159 karma points
    Mar 08, 2016 @ 15:16
    Martin Almström
    0

    Maybe this package could be helpful

    https://our.umbraco.org/projects/backoffice-extensions/leblender/

    /Martin

Please Sign in or register to post replies

Write your reply to:

Draft