Copied to clipboard

Flag this post as spam?

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


  • Ibrahim Abdulhussein 7 posts 27 karma points
    Feb 18, 2015 @ 21:29
    Ibrahim Abdulhussein
    0

    Extending Listview to show custom made property editors value

    Hi Guys,

    I made a property editor to grab the visits number for each node from a custom table (ContentHit) and it will be nice to show visits to each node in the ListView and make it sortable.

    I tried to configure the listview to show the visits on the current ListView but it appeared empty.

    Any Ideas how to do that?

     

  • Sören Deger 733 posts 2844 karma points c-trib
    Feb 20, 2015 @ 10:52
    Sören Deger
    0

    Hi Ibrahim,

    I think it is because as you save the value of your custom property editor. You will save the value (count of visits) in your content node? If you are not sure check the /App_Data/umbraco.config file, browse to your specific node and see if your value is in the xml fragment for your node.

    If not, you must ensure that your editor also stores the value. Use this in your property editor view for the ng-model directive:

     ng-model ="model.value"

     

    Best regards,

    Sören

Please Sign in or register to post replies

Write your reply to:

Draft