--
Hippo Community Group: The place for all discussions and announcements about Hippo CMS (and HST, repository etc. etc.)
To post to this group, send email to hippo-c...@googlegroups.com
RSS: https://groups.google.com/group/hippo-community/feed/rss_v2_0_msgs.xml?num=50
---
You received this message because you are subscribed to the Google Groups "Hippo Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hippo-communi...@googlegroups.com.
Visit this group at http://groups.google.com/group/hippo-community.
For more options, visit https://groups.google.com/d/optout.
I got it working. There was a typo in the class name in the head-contrbutions.xml, HeadContributionPlugin to HeadContributionsPlugin. It seems to work fine after that fix. Thank you very much!
-Jimmy
Ok guys,Let me know if this works for your use-case!
here's my plugin (HeadContributionsPlugin.java attached).
To use it:
1. Add it to your CMS module cms/src/main/java/com/example/plugins/headcontributions/HeadContributions.java
2. Import the loader config (loader.xml) to /hippo:configuration/hippo:frontend/cms/cms-static/headcontributionsLoader
3. Import the plugin config (head-contributions.xml) to /hippo:configuration/hippo:frontend/cms
4. At /hippo:configuration/hippo:frontend/cms/head-contributions/headcontributions, configure the list of resources. Right now it is trying to load a "script/test.js" file which will be sought under ...../...../myhippoproject/cms/src/main/webapp/script/test.js