Tagged: Custom fields, site wide activity widget
Hi – Is there a way to add fields to the “include” or “exclude” filters in the Site Wide Activity widget?
Hi Brian,
My apologies for the delayed reply.I am not sure if I understand it correctly. Can you please help me understand the desired outcome of this?
Thank you
BrajeshI’d like to add a custom fields to the exclude/include filters so that I can use the widget to show categories that are not currently supported.
screenshot = https://www.dropbox.com/home/Screenshots?preview=Screenshot+2017-01-27+13.34.18.png
Hi Brian,
Thank you.
It is possible to do so using ‘swa_get_activity_filter_links’ filter.But I am not sure if it will serve any purpose. The include/exclude are based on the “Component” whose activity have been saved in the database. It then uses that component to filter the activity.
In your case, if the category is not saved as activity component, even adding to this filter list will not serve any purpose. You may benefit from custom Activity Query though.
You must be logged in to reply to this topic.