AnsweredAssumed Answered

customize RSS dashlet with options to hide fields?

Question asked by phivuu-2 on May 22, 2018
Latest reply on May 24, 2018 by jpotts

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'?

Outcomes