Copied to clipboard

Flag this post as spam?

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


  • Ryan 34 posts 138 karma points
    Jan 20, 2015 @ 11:24
    Ryan
    0

    Grid editor configuration issue, applying div class

    Hi all,

    I'm wondering if someone can point me in the right direction. I'm trying to edit the Headline control in the grid.editors.config.js file - it would seem when I add a div class I get a null reference exception. From looking at the Umbraco documentation I should be able to do this. Any help is greatly appreciated.

     {
            "name": "Headline",
            "alias": "headline",
            "view": "textstring",
            "icon": "icon-coin",
            "config": {
                "style": "font-size: 36px; line-height: 45px; font-weight: bold",
                "markup":  "<div class=\"headline\"><h3>#value#</h3></div> "
            }
        },
    
  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Jan 20, 2015 @ 11:43
    Jan Skovgaard
    0

    Hi Ryan

    What does the error message look like? Do get any additional information?

    Have you recycled the app pool after making the change? And is the "debug" attribute in the web.config set to "true"?

    Looking forward to hearing from you.

    /Jan

  • Ryan 34 posts 138 karma points
    Jan 20, 2015 @ 11:49
    Ryan
    100

    Hi there,

    I recycled the app pool and now everything seems to be working fine. I couldn't work out why it was throwing a null reference exception - so annoying.

    Thanks for the help.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Jan 20, 2015 @ 11:52
    Jan Skovgaard
    0

    Hi Ryan

    Happy to see you got it fixed by recycling the app pool. Each time a change is made to the files in the /config/ folder this is necessary - So keep that in mind next time something does not work as expected after modifying any of those files :)

    And please mark the post as solved so others can go straight to the solution if they encounter the same issue.

    Cheers, Jan

  • Ryan 34 posts 138 karma points
    Jan 20, 2015 @ 11:57
    Ryan
    0

    ooops I solved the wrong post. Could you remove it and I'll mark your post as the solution

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Jan 20, 2015 @ 12:17
    Jan Skovgaard
    0

    Hi Ryan

    Currently that's not possible - But it will be in the upcoming version of the forum. But there is no release date yet :)

    /Jan

Please Sign in or register to post replies

Write your reply to:

Draft