To fix this problem you will need to unistall cmdinstall and then put yarn, if not it will keep calling cmdtest, this is even on newer ubuntu 20.x versions.
sudo apt-get remove cmdinstall;sudo apt update;sudo apt-get install yarn
To fix this problem you will need to unistall cmdinstall and then put yarn, if not it will keep calling cmdtest, this is even on newer ubuntu 20.x versions.
sudo apt-get remove cmdinstall;sudo apt update;sudo apt-get install yarn
If you updated your environment to php 7.3 or higher, there is a good chance you will have default syslog settings that is syslog.filter set to no-ctrl
http://php.itronic.at/manual/en/errorfunc.configuration.php#ini.syslog…;
To check current rsyslog version, run this in terminal
rsyslogd -N1
You can configure it with git config
using
git config --global push.default current
To add xdebug config to VS CODE for lando, use this config
{
"version": "0.2.0",
"configurations": [
{
"name": "Listen for XDebug",
"type": "php",
"request": "launch",
"port": 9000,
"pathMappings": {
"/app/": "${workspaceFolder}/",
}
}
]
}
You can get current users order/cart with this
I wanted to have an option to use ssh keys I use for git not only on host machine but also on remote one made by docker. To do that I tried several ways how to push this key to container. There are some info on SSH forwarding but in the end what worked best for me is just simple mounting a file (ssh key) to php container (using docker4drupal by wodby).
By default you can't copy and paste images from clipboard to text field using CKeditor, I would argue this should even be in core as if you are writing an article this would be very useful to have, even more then what "Media" module brings. So how to add this to drupal. Well not easy as usual :)
There is a simple way to do this over dev tools in browser, just to to "node edit" or a place where CKEditor is active and run
alert(CKEDITOR.version);
and you will get the version. Currently, it is at 4.14.1 which is almost the latest in 4.x versions, but there is also 5.x version that drupal is still not using.
The key here is to pass variables over 'drupalSettings' => ['myData' => $some_value], where you can then pass whatever you need to decoupled app(react)