Try Now
More in this section

Forums / Project Feather / Image selector example?

Image selector example?

2 posts, 0 answered
  1. Todd
    Todd avatar
    1 posts
    27 Mar 2009
    03 Mar 2015
    Link to this post
    I'm looking for a good example of how to incorporate an image selector into a custom widget designer using Feather.  I've found some information on the Feather wiki (https://github.com/Sitefinity/feather/wiki/Use-an-image-selector)  but I can't find a complete code example.  After following the instructions in the aforementioned link, when I click 'Edit' on the widget, I get a brief flicker of the screen as it attempts to load the designer and then it goes away without showing the designer dialog.  I also get no errors in my browser console.

    I'm running this on Sitefinity version 7.3.5610 with version of Feather.  One thought I had was that perhaps the script dependencies from the JSON file weren't being loaded.  Would these be shown as individual script requests, or are they just loaded from a single resource call? 
  2. Nikola Zagorchev
    Nikola Zagorchev avatar
    424 posts
    25 Oct 2016
    06 Mar 2015
    Link to this post
    Hi Todd,

    The scripts are loaded separately. Please, ensure your designer view is found and your script loaded. You can try $log some info in it. Make sure you have the 'ControllerContainer' attribute in your assembly, you have followed the convention for the designer view name and place in the project structure. Make sure the script for the designer is in the Mvc/Scripts/ControllerName folder and is named designerview-controllername.js.

    Nikola Zagorchev
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
2 posts, 0 answered