Thanks for the helpful hints ! I found a simple script provided by OSTraining meant for Drupal 7 and I try changing some api names to backdrop and it works for me. Let me know if there's any issue with this way of working or better codes to be done. Thanks !
Replace "mypassword" with whatever you want to use as the password. The script accesses the backdrop password function and changes the password for you.
Step 4: Uninstall the PHP script and login
One you're done resetting passwords. Be sure to uninstall the php script you created by deleting it using FTP or your file manager.
Notes: This is successfully tested on backdrop v1.8.0
Hi
Editing I see this:
The CSS looks like this:
/* Level 1: Standard Numbers */
.field-name-body ol {
list-style-type: decimal;
}
/* Level 2: Lowercase Letters */
.field...
Done:
https://github.com/backdrop/backdrop-issues/issues/7097
Feel free to edit it with better technical language.
I'll have ago at vaccinating it but I'm only a user and the...
Hi Mike.
That looks like a bug. The CKE ordered lists when editing have the correct CSS to format those lists correctly, but when Backdrop displays the body field in Basis, it doesn't...
Posted2 days 4 hours ago by Alejandro Cremaschi (argiepiano) on:
Restore Newsletter Subscriptions from a Dev Website
In my last comment, I described a way to restore newsletter subscriptions from a database backup. The method involved directly editing...
Posted4 days 17 hours ago by Olaf Grabienski (Olafski) on:
I am considering migrating my drupal 7 website to backdrop.
Hi @seamus, I would like to offer my professional services for migration to BackdropCMS.
Please connect If...
Posted5 days 12 hours ago by Deep Vyas (deepvyas) on:
Comments
One way to do this is with
drush:To use
drushwith Backdrop install the Backdrop Drush Extension or use a tool like Lando that includes drush with it.There are also some scripts in the core/scripts directory that can help with resetting passwords.
Thanks for the helpful hints ! I found a simple script provided by OSTraining meant for Drupal 7 and I try changing some api names to backdrop and it works for me. Let me know if there's any issue with this way of working or better codes to be done. Thanks !
https://www.ostraining.com/blog/drupal/password-recovery-for-drupal-7
Here the steps:
Step 1: Create a short PHP script with code below
<?php define('BACKDROP_ROOT', getcwd()); require_once BACKDROP_ROOT . '/core/includes/bootstrap.inc'; backdrop_bootstrap(BACKDROP_BOOTSTRAP_FULL); require_once BACKDROP_ROOT . '/core/includes/password.inc'; if (isset($_GET['pass']) && !empty($_GET['pass'])) { $newhash = user_hash_password($_GET['pass']); } else { die('Retry with ?pass=PASSWORD set in the URL'); } $updatepass = db_update('users') ->fields(array( 'pass' => $newhash, // 'name' => 'admin', // 'mail' => '<a href="mailto:yourmail@example.com'">yourmail@example.com'</a>; )) ->condition('uid', '1', '=') ->execute(); print "Done. Please delete this file immediately!"; backdrop_exit(); ?>Step 2: Upload the PHP script to the main/root backdrop directory
Step 3: Use the PHP script from your browser address bar
Step 4: Uninstall the PHP script and login
Notes: This is successfully tested on backdrop v1.8.0