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

Entry events - Filter based on Site #5

Open
AndrewMac opened this issue Aug 26, 2021 · 1 comment
Open

Entry events - Filter based on Site #5

AndrewMac opened this issue Aug 26, 2021 · 1 comment
Labels
Feature Request New feature or request

Comments

@AndrewMac
Copy link

AndrewMac commented Aug 26, 2021

I'm really interested in this plugin, but I'm not sure if we can use it properly on our installation if it doesn't support multiple sites. We have, for instance, entries and products that are enabled or disabled on certain sites (and some enabled on multiple sites).

So we might have entries in a News section, for instance, that may or may not be used on certain sites. We would need to be able to configure Notifier so that it sends different messages—or doesn't send any at all—depending on the site and/or (especially) language used.

Sorry if this is not clear enough, but I hope you'll get the idea ...

@lindseydiloreto
Copy link
Contributor

lindseydiloreto commented Aug 26, 2021

Great feedback, thanks! We certainly can (and should) add a filter for "Sites".

In the meantime, you may be able to do a workaround with the {% skipMessage %} tag...

{# If the entry is not in Site 1, skip sending the message #}
{% if entry.siteId != 1 %}
    {% skipMessage %}
{% endif %}

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

@lindseydiloreto lindseydiloreto added the Feature Request New feature or request label Aug 26, 2021
@lindseydiloreto lindseydiloreto changed the title Can we have multisite, please? Entry events - Filter based on Site Aug 26, 2021
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