47 Posts
zaliyanna
9 years ago
2
Topic

Hi SEBLOD community,


I'd like to send an email to admin only when art_state==1

How can I do that .

Is what this field ( in the image ) is used for that.

thks,

Get a Book for SEBLOD
9 years ago
1
Level 1

Hello zaliyanna,

in the parameter view ot the email field, you have the "How to setup this field ?" link.

After the select in which you set never, you can write the name of your article state field.

When this field will have the value 1 (like submission), the email will be sended.

But careful, if you edit again the article, and the article state field is set to 2 (archived for article) (On edition for email), the email will also be sent.


Regards.

Lionel

47 Posts
zaliyanna
9 years ago
0
Level 2

click here to see the Image

I I understand I should put something like this if candidature_status=1 when user edit his content an email is sent

else if candidature_status=0 the email won't sent.

Get a Book for SEBLOD