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
Why not insert the script using a custom block at the very top of the page, <header>? Who said that it won't work correctly if you don't place it in the <head>? Especially...
Google tag and event snippet on the conversion page
You can use https://statichost.host for hassle free static experience.
Generate a Static Site
that was the first thing i tried, but thanks. i cannot see css file changes without clearing the css/js cache. for that reason i have been adding css snippets (<style> tags) into my...
Bandwidth optimization settings
I asked ChatGPT and the answer helped me to place a conversion tracking tag in the Head section of a specific page, like this: code in template.php function my_theme_preprocess_page...
Google tag and event snippet on the conversion page
I came across this forum topic and, as I was reading through it, recalled reading something a few years ago about someone backing up Yahoo Answers when they got shut down. I searched and found...
Initiative Proposal: Drupal 7 MIRROR