Salvez asta aici: https://cors-test.codehappy.dev
Category: Docs
Plone 6, Volto: find items containing a block
In my case I searched for items that contains any kind of “form” block: Register a view (MyView): configure.zcml admin.py Then go to localhost:8080/Plone/my-view
docker build test local
rsync rancher config
Go to rancher stack Add service eeacms/rsync (same settings as for other projects) Volumes – use the volume listed in storages: my_website_data:/data then $ ssh root@vv.vvv.vv.vv -p 22222 yes $ cd /data/
Disable LDAP (Plone 6)
Site Setup -> Management Interface (ZMI) -> acl_users -> pasldap -> Activate -> uncheck all -> Update
pdb – kill the current process
ctrl+\ kills the current process
Sitemap Plone 6
yourwebsite/sitemap.xml.gz
Convert and resize png files – Ubuntu
Convert all jpegs to png: $ mogrify -format png *.jpeg Resize width 300 px for all pngs in this folder: $ mogrify -resize 300x *.png
Tests volto addon (in your local app)
In Makefile add: Then $ cd clms-frontend$ env ADDON=volto-clms-theme make test
Run jest tests for volto add-on
$ cd clms-frontend$ env RAZZLE_JEST_CONFIG=src/addons/volto-clms-theme/jest-addon.config.js yarn test src/addons/volto-clms-theme