Insert whatever before/after specific HTML tags like HEAD, BODY...
Only in frontend of Joomla.
If you use relative paths in href or src, e.g. when you insert <link href="templates/bimbam/css/myoverrides.css" rel="stylesheet" />
take care that plugin "System - SEF" runs after this plugin (see image 3 below). You can reorder them in Joomla by Drag&Drop.
- Prepare/adapt
./package.json
. cd /mnt/z/git-kram/plg_system_insertwhatwhereghsvs
npm install
(if never done yet)
npm run updateCheck
or (faster)npm outdated
npm run update
(if needed) or (faster)npm update --save-dev
npm install
(if needed)
node build.js
- New, installable ZIP is in
./dist
afterwards. - All packed files for this ZIP can be seen in
./package
. But only if you disable deletion of this folder at the end ofbuild.js
.
- Create new release with new tag.
-
- See and copy and complete release description in
dist/release.txt
.
- See and copy and complete release description in
- Extracts(!) of the update and changelog XML for update and changelog servers are in
./dist
as well. Copy/paste and make necessary additions.