Event Manager: How can I write a generic user Tag?
Posted: Sat May 17, 2014 11:07 am
Hi,
I like the Event Manager from 1.11.10 that can be associated with user Tags to send events, e.g. after news has been posted.
However, I have a lot of such notifications that only exist of messages what happened: "User added", "News posted", etc.
That means, for 10 events, I have to write 10 user Tags. Is there a way to only write 1 user Tag and within the user tag do a if/else on the event type?
Unfortunately, $params does give me details about the event (news title, news id, etc.) but not the name of the event itself.
Is there a way to know what triggered the tag from within the tag?
thanks!
I like the Event Manager from 1.11.10 that can be associated with user Tags to send events, e.g. after news has been posted.
However, I have a lot of such notifications that only exist of messages what happened: "User added", "News posted", etc.
That means, for 10 events, I have to write 10 user Tags. Is there a way to only write 1 user Tag and within the user tag do a if/else on the event type?
Unfortunately, $params does give me details about the event (news title, news id, etc.) but not the name of the event itself.
Is there a way to know what triggered the tag from within the tag?
thanks!