Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter based on a specified field value #14

Open
wmdhosting opened this issue Aug 23, 2022 · 2 comments
Open

Filter based on a specified field value #14

wmdhosting opened this issue Aug 23, 2022 · 2 comments
Labels
Feature Request New feature or request

Comments

@wmdhosting
Copy link

Is there a way to send notification only when new entry is published in Section that contain specific category

@lindseydiloreto
Copy link
Contributor

Absolutely! Think of it as a two-step process...

  1. Send a message when a new entry is published.
  2. Filter out entries that don't match your required conditions.

Within the context of your Twig message template, you'll want to skipMessage for any entries which don't match your criteria...

https://plugins.doublesecretagency.com/notifier/messages/skip/

^ Check out the examples on that page to get an idea of how it works. Let me know if you have any follow-up questions!

@wmdhosting
Copy link
Author

OK thx.. will try like that..

any chance in future to add Related elements rules.
Now we have for Section / entry type..

To add Related elements options. in same way

@lindseydiloreto lindseydiloreto changed the title FR: Category Filter based on a specified field value Mar 12, 2024
@lindseydiloreto lindseydiloreto added the Feature Request New feature or request label Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants