Installing and Localizing Drupal
Congratulations! In this article, you will get acquainted with a wonderful platform for creating websites—Drupal. That's right, not just a CMS or a framework, but a platform.
First of all, you get a CMS, meaning an admin panel for editing content, users, tags, meta tags, and more.
1.2. Installing Modules in Drupal
Like many other CMSs, Drupal consists of modules. This allows different sites to use different functionalities—blogs, galleries, private messages, forums, and other modules can be enabled as needed. Or unnecessary modules can be disabled to lighten the site.
1.3. Localization Drupal 8.
Quite often, it is necessary to switch Drupal to another language. Let's say you installed the English version of Drupal, but you need the Russian one, or you want Drupal in two languages—Ukrainian and Russian. In Drupal, you have the ability to do this out of the box. Let's figure out how to do it.
Using ChatGPT to localize Drupal interface
Using ChatGPT to localize Drupal interface into your language:
Here is github repository with code and links:
https://github.com/levmyshkin/drupal-localize-chatgpt
Blocking ChatGPT in robots.txt: Pros and Cons
With the increasing prevalence of AI-powered tools like ChatGPT, website owners are faced with the decision of whether to allow or block these bots from accessing their sites. One effective way to manage this is through the robots.txt file. By adding specific directives, such as User-agent: GPTBot Disallow: /, you can control whether ChatGPT can crawl and access your content. In this article, we'll delve into the pros and cons of blocking ChatGPT in robots.txt.
AdminerEvo - web-based database management interface
Drupal related Emoji
Hello everyone🌐!
In the world of Drupal development, clear communication is crucial. Emojis can make our messages quicker and more fun, whether we're talking about bugs, planning, or deployment. They help convey ideas and emotions without a lot of words.
In this article, we’ll look at some useful emojis that can make our work as Drupal developers a bit easier and more engaging. Let’s see how these little icons can boost our communication and teamwork.
There are useful emoji for articles about Drupal, especially drop of water:
Drupal: How to rewrite jQuery Cookie with Javascript Cookie
Drupal 9 and above uses Javascript Cookie library instead of jQuery Cookie:
https://www.drupal.org/node/3104677
https://www.drupal.org/node/3322720
https://www.drupal.org/node/3296086
You can find a lot of patches for contrib modules, for example:
https://www.drupal.org/project/eu_cookie_compliance/issues/3194270
Replace jQuery.once() with javascript once() in Drupal 10
PHP date() format
- d - The day of the month (from 01 to 31)
- D - A textual representation of a day (three letters)
- j - The day of the month without leading zeros (1 to 31)
- l (lowercase 'L') - A full textual representation of a day
- N - The ISO-8601 numeric representation of a day (1 for Monday, 7 for Sunday)
- S - The English ordinal suffix for the day of the month (2 characters st, nd, rd or th.