Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
With Drupal 7 Rules I was able to do a very simple action: after the user logged in with the 'company' role and if he had not yet created his company node, he was shown a message reminding him that he had not yet created it and inviting him with a "href to node add" to create it.
What allowed me to do this as condition was a PHP add-in for Rules that allowed me to run a query on the DB
I understand how to set up a local site using Docker, DDEV etc. I've gone through the process and have a working local site. I used to upload a site using FTP and export/import mySQL to my hosting provider but I don't see how to do that with this setup as the files are isnside a container. I have searched far and wide but can't find an answer, maybe its something very simple that I am missing. All documentation I have found seems to end with you having a local website for testing. Please help!
Problem 1
- Root composer.json requires drupal/helper ^1.38 -> satisfiable by drupal/helper[1.38.0].
- drupal/helper 1.38.0 requires davereid/drupal-environment ^1.0 -> found davereid/drupal-environment[dev-main, 1.0.0-beta1, 1.0.0-beta2, 1.x-dev (alias of dev-main)] but it does not match your minimum-stability.
How do I resolve this? I can't find a drupal-environment module to update.
I'm using Drupal commerce + commerce API modules in decoupled Drupal project. When doing the checkout frontend (in Angular) will call some third-party APIs and get some discounts for each order items. I need to update those discount details in Drupal DB.
I tried this with /jsonapi/checkout/{order_uuid} API like below. But this does not update anything in the DB.