Forum Discussion

Lindsey's avatar
Lindsey
Leader
6 years ago

Custom subscription

I  created a custom labels page, in which you can search for posts associated with multiple labels. This search would only returns posts that have both labels, not posts that have one or the other.

I wanted to create a custom "subscribe" button as well. I wanted the button to subscribe the user to that given label search. This would not be as simple as adding a subscription to each label they selected - I don't want them to get emails for posts with just one of those labels, only posts that have both labels.

Is it possible to add a subscription like this? I see that the subscription collection must have a target ID - can the target ID be multiple labels in which it would be an "AND" search? The collection also must include the node of the item - can the node be all of the community?

No RepliesBe the first to reply