0

I'm using Rules with event "After updating an existing user account". It should trigger whenever a user uploads a new profile picture.

Now I've added an ajax uploader for user pictures, the Avatar Uploader module.

The problem is that the ajax uploader doesn't trigger the rule.

How can I fix this?

Is there some code I could add to change this and make it trigger the rule? Regards, d

(drupal 7)

  • No, the event says after updating not uploading. Uploading a new img does not update the account until you hit the save button – No Sssweat Jan 30 at 16:29
  • yes i understand. but how can it be achieved using the ajax submit? – dnoncoder Jan 30 at 16:40
  • Its been years, but you can trigger a rule programatically. drupal.stackexchange.com/a/3741/57 – Kevin Jan 30 at 16:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.