i used to do this in drupal 7, but i cannot see how to do this in backdrop. is there a way to execute a custom php function as the action for a rule?
alternatively, is there a reliable way to hook into the normal process flow and execute some custom code AFTER a node has been saved to the database? hook_insert() etc all seem to happen prior to the node data being saved in the database, and therefore there is no nid yet for the new node. have i missed something there?
thanks for any ideas.
Recent comments
Further to this, the problems seems to be related to Paragraphs. When an image is added as an inline image in the Body field, it displays fine. The file is uploaded and saved in the correct directory...
Uploaded image files stored in system/temporary
Thanks for the reply. I have sites/default/files for the Public file system path, as usual (for D7). The Temporary directory was initially set as /tmp. Then I tried it as sites/default/files/tmp to...
Uploaded image files stored in system/temporary
Have you configured your file system paths correctly? Administration > Configuration > Media
Uploaded image files stored in system/temporary
Yes, it's a core bug that has been reported before: https://github.com/backdrop/backdrop-issues/issues/3263
Error after deleting a node field
Yes, I just add to create again the custom layout and placed the blocks again and seems fine , but seems a core bug. Thanks sir!
Error after deleting a node field