How to rewrite jQuery Cookie, core/js-cookie library in Drupal with the js_cookie module
Why this change?
- In Drupal 9, jQuery Cookie was removed from core and replaced with the js-cookie library. A BC shim (
core/jquery.cookie) existed during Drupal 9 but was removed for Drupal 10.
Drupal Update
This section is about updating the Drupal core from previous versions (including legacy Drupal 6 and Drupal 7) to the latest stable release. I will also publish articles here on how to update contributed modules for Drupal.
Endless support for CKEditor 4 in Drupal
The Drupal CKEditor module is ending support for CKEditor 4. However, you still have the option to connect CKEditor 4 through custom modules and continue using it. Of course, using the new CKEditor 5 or later is preferable, but the legacy CKEditor module is still used by more than 140,000 sites (every fourth Drupal site!):
DrinkUp 2025.07 Novi Sad, Serbia
Hello!
We are glad to invite you to the July edition of Drupal Novi Sad DrinkUp #9!
We will, as usual, talk about Drupal, jobs, but will mostly enjoy good company and some food.
Thursday, July 31st, 2025.
Loft Ĺ trand
18:00 - 22:00 - Free discussion about Drupal, News and The Holy Grail.
Loft Ĺ trand, city beach, left from entrance Novi Sad, check on Google Maps.
Introducing the Flipdown Countdown module for Drupal
We’re excited to announce the release of a brand-new Drupal module for those looking to add stylish, animated countdown timers to their sites: Flipdown. This module brings the popular FlipDown JavaScript library by Peter Butcher into the Drupal ecosystem, making it easy to drop in beautiful flip-style timers anywhere on your website—without writing a line of JavaScript.
Using Chat GPT to rewrite javascript code without jQuery
Prompt for ChatGPT to Rewrite jQuery to JavaScript
If you want to rewrite jQuery code into pure JavaScript using ChatGPT, navigate to chat.openai.com and enter the following clear, concise prompt:
Please rewrite the following jQuery code into vanilla JavaScript, maintaining the same functionality. Ensure compatibility with modern JavaScript standards (ES6+). Also, include usage of Drupal.behaviors if applicable. [Paste your jQuery code here]
Drush shows error: Support bash to support 'source' with fallback on $0 if this does not run with bash
I have huge number of configs and run usually config import with php -d memory_limit=-1 (disable memory limit for PHP):
php -d memory_limit=-1 ./vendor/bin/drush config-import -y
But this time I got an error:
Additional materials for PHP lessons
This section will contain additional materials on the lessons, an introduction to php, various facts about php and something else.