Event Manager: How can I write a generic user Tag?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
wdg
New Member
New Member
Posts: 2
Joined: Sat May 17, 2014 10:07 am

Event Manager: How can I write a generic user Tag?

Post by wdg »

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!
chandra

Re: Event Manager: How can I write a generic user Tag?

Post by chandra »

If I'm right there's no way to get information about.

But maybe you can use the available event details as trigger....
Post Reply

Return to “CMSMS Core”