[opencms-dev] cms:include not including in newly created file
Corbey, Clayton
CorbeyC at brandonrha.mb.ca
Thu Jun 8 17:33:35 CEST 2006
Ok, I have some news, I found out the problem, and the solution was very
simple. Kinda like the famous 'off by one' rule.
It was because of the CAPLITAL letters in my <cms:template> def's.
This doesn't work...
<cms:include property="template" element="headBottom" />
This does...
<cms:include property="template" element="headbottom" />
Notice the 'b' in 'bottom' is lowercase.
If anyone has this problem, this may be your solution!
Thanks to all for the help!
-Clayton
-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Corbey, Clayton
Sent: Wednesday, June 07, 2006 13:54
To: The OpenCms mailing list
Subject: RE: [opencms-dev] cms:include not including in newly created
file
Well, I changed
<cms:include property="template" element="headBottom" />
To
<cms:include
file="/system/modules/ca.mb.westmanlab/templates/westmanlab"
element="headTop" />
And it did nothing. However, I notice that
<cms:include
file="/system/modules/ca.mb.westmanlab/jsptemplates/toolbar" />
Works perfectly. Something is up with the template. The <cms:template
element="headTop"> parts aren't working in it is my guess.
Why, I have no idea!
-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Marcus Popetz
Sent: Wednesday, June 07, 2006 13:28
To: The OpenCms mailing list
Subject: RE: [opencms-dev] cms:include not including in newly created
file
Just to be anal, can you change the:
><cms:include property="template" element="headBottom" />
to
><cms:include file="/full/path/to/template.jsp" element="headBottom" />
Then you'll know if it's a problem with the template property of your
new
file or not?
-mp
_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please
visit
http://lists.opencms.org/mailman/listinfo/opencms-dev
_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please
visit
http://lists.opencms.org/mailman/listinfo/opencms-dev
More information about the opencms-dev
mailing list