Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Yes, but you need to treat all substitutions as stings. So be surround to surround it with quotes. Example as follows.- Does [user_id] work the same way in a 'code' as it does in a 'query'?
You do not supply php tags. PHP in a Code action is executed using an anonymous function.- If I'm using the 'code' type for PHP do I still need <?php ?> tags? - any time I include them I just get a 500 error
No where. There's a redirect right after that trigger so any output from your code will never be seen.- If I have echo on for a PHP where does this echo on a onAfterUserProfileSaved? - I'm using the echo command in my script and seeing nothing on the page
For auto actions it's a var_dump when something fails.- If I have Debug turned on, where does the data dump to?
If you want the second action to be aware of changes to the user object from the first action then the section action needs reload user.- If I'm doing a 'query' and a 'code' both on onAfterUserProfileSaved, do I need Reload User turned on?
Please Log in or Create an account to join the conversation.