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
Thanks, that was it exactly!
Admin bar doesn't work for other site admin
Hello, Thank you for your response ! We followed the steps of the documentation, so we copied the content and the themes on backdrop en then we went to the page domain/core/...
Page not found after migration
Does the Administrator role of your site have the permission "Access administration bar"? (I think, you wouldn't notice the missing permission if your own account is the so called User 1.)
Admin bar doesn't work for other site admin
I've figured it out: in hook_field_widget_form(): $html_name = array(); if (!empty($element['#field_parents'])) { $html_name[] = $element['#field_parents'][0]; foreach ($...
Using #states in custom field widget
Hi @allinappli and welcome! Just for clarity, did you already run the site updates portion of the upgrade to Backdrop? (e.g. at /core/update.php) Do you have command line access or...
Page not found after migration