AddStuff icon
Module Id
addstuff
Group Id
org.jahia.modules
Updated
Requires Jahia
7.0.0.0
Author
pvollenweider
Category
Tools and Utilities
Status
COMMUNITY

AddStuff group_work

javascript styles html template

Simple Jahia module that allow to add HTML code in the HEAD or BODY part on all pages

Dependencies & Dependants

Dependencies
  • NONE
Dependants
  • NONE

Changelog 1.2

Change default filter priority to 20

FAQ

I have deployed my module on my site, but I still can't view where I can add HTML
Right click on the site node picto and update the site. Under the "Options" tab you will see a checkbox that allow to add stuff in your HTML code.

I did enter some HTML in the BODY part but I can't see the code in my page
This module only works for for live and preview mode.

The output of my HEAD element is not at the end of the HEAD section of my HTML
This is a limitation of the module. If you need this, you can change the priority of the spring bean to -1 in file META-INF/spring/addstuff.xml to be lower than the StaticAssets filter. If you do this, the output won't be cached anymore.

How To Install

To add code, deploy this module on your server, then activate the module on your site, go to edit mode and right click on the site picto from the left panel, then go to Option and click on the "Add stuff in your HTML code (only for preview/live mode)" checkbox (see the screenshot tab).
You will see 2 text area, one for the HEAD part of the HTML, and another for the BODY.
The output is only visible in your html in preview and live mode.

Images

Video

License

MIT License