[opencms-dev] Head Includes Not Working in Apollo Template
Filip Kratochvil
filip.kratochvil at nelasoft.cz
Thu Mar 2 09:43:31 CET 2017
Hi Clement,
formatter includes are placed at the bottom of the page (before ending </body> tag; check apollo-page.jsp). So, you are probably calling a script (in your formatter) that isn’t actually placed on the page.
--
S pozdravem / Kind regards
Filip Kratochvil
------------------------------------------------
NELASOFT Technologies, s.r.o.
E-mail: <mailto:filip.kratochvil at nelasoft.cz> filip.kratochvil at nelasoft.cz
Web: <http://www.nelasoft.cz/> www.nelasoft.cz
Twitter: <https://twitter.com/NELASOFT> @NELASOFT
From: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Clement Wee
Sent: Thursday, March 2, 2017 9:19 AM
To: opencms-dev at opencms.org
Subject: [opencms-dev] Head Includes Not Working in Apollo Template
Hi Dev Team,
I am using OpenCMS 10.5.1.
I have created a new resource-type and added the necessary head includes to the formatter. The head includes are necessary as the middle of the formatter includes a script that calls one of the included methods.
However, when I drag it onto an Apollo Template Container Page, the head includes don't show up at the head; instead they show up at the tail end of the body. As a result, my script fails to run.
Is there some extra configuration for the Apollo Template?
Regards,
Clement
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20170302/2e20ddf8/attachment.htm>
More information about the opencms-dev
mailing list