palasangha / Treasures-Of-Dhamma

GNU General Public License v3.0
0 stars 0 forks source link

Add QR Code (dynamic) to each node #52

Closed aryalsujay closed 1 year ago

aryalsujay commented 1 year ago

QR code Module: https://www.drupal.org/project/qrcode

Module install and patch fix tutorial: https://www.youtube.com/watch?v=lkTTl9lYLAs&ab_channel=OSTraining

QR code module patch: https://www.drupal.org/files/issues/2023-04-03/Error-while-adding-qrcode-3351670-3.patch

How to add patch:

curl https://www.drupal.org/files/issues/2023-04-03/Error-while-adding-qrcode-3351670-3.patch | sudo patch -p1

Enter sudo pass and add file path:

/home/*/*/archipelago-deployment-live/drupal/web/modules/contrib/qrcode/src/Form/QRCodeForm.php
docker exec -ti esmero-php bash -c "drush cr";
docker exec -ti esmero-php bash -c "drush updb"

Done :)