customize RSS dashlet with options to hide fields?

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2018 10:26 AM
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'?
Labels:
- Labels:
-
Alfresco Content Services
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2018 12:49 PM
Very similar question being asked on Stack Exchange on the same day.
