cancel
Showing results for 
Search instead for 
Did you mean: 

customize RSS dashlet with options to hide fields?

phivuu-2
Confirmed Champ
Confirmed Champ

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 1

jpotts
World-Class Innovator
World-Class Innovator

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