Redis and Php-Redis with drupal 9 on Linux
Install Redis
sudo apt-get update && sudo apt-get upgrade
sudo apt install redis-server
sudo apt install php-redis
Check
sudo systemctl status redis-server
redis-cli ping
sudo apt-get update && sudo apt-get upgrade
sudo apt install redis-server
sudo apt install php-redis
sudo systemctl status redis-server
redis-cli ping
To Show more than 100 terms in taxonomy administration (overview) page, You must set the terms_per_page_admin of taxonomy.settings.
To set Drupal System variables you can use the $settings (on Drupal 8) and $conf (On Drupal 7) array of setting.php file.
$settings['file_public_path'] = '/path/to/dir/public';
1. COMPASS
Compass is a powerfull command line compiler
Install (Linux debian) : sudo apt-get install ruby-compass
Link : http://compass-style.org/help/documentation/command-line/
2. Koala
1. Define route in module.routing.yml
Exemple :module.view.settings:
path: '/url/to/the/page'
defaults:
_controller: '\Drupal\module\Controller\Demo::view'
_title: ''
requirements:
This is due to file/folder permission. so drupal cant write twig tempory files.
Change folder owner / permission like:chown DRUPAL:www-data -R files/* (On debian/Ubuntu)
chown DRUPAL:apache -R files/* (On Redhat/CentOD/Fedors)
Comments are set as a field, so by default it is not present. To add comment field Goto:
Admin -> Structure -> Content types ->"YOUR CONTENT"
->Manage fields->Add field
->Select 'Comments' on 'Re-use an existing field' and Save.