customize RSS dashlet with options to hide fields?

cancel
Showing results for 
Search instead for 
Did you mean: 
phivuu-2
Partner

customize RSS dashlet with options to hide fields?

I wish to add checkboxes to the config of the RSS dashlet. The checkboxes value will determine if an RSS item's title, description etc should be shown or hidden.

  • I have added my own checkbox in the file 'config-feed.get.html.ftl'.
  • I have found the file 'async-rssfeed.get.json.ftl' that is responsible for rendering the RSS items. The corresponding 'async-rssfeed.get.json.js' uses 'feed.utils.js' to fetch the RSS items.

I want to to access the value of the checkbox in 'async-rssfeed.get.json.js', but this checkbox is in 'config-feed.get.html.ftl'. Is there a way to access the checkbox value like I want, or perhaps supply it to 'async-rssfeed.get.json.js'?

1 Reply
jpotts
Professional

Re: customize RSS dashlet with options to hide fields?

Very similar question being asked on Stack Exchange on the same day.