[opencms-dev] Common locations for header and footer files
Christoph P. Kukulies
kuku at physik.rwth-aachen.de
Wed May 3 08:41:19 CEST 2006
On Tue, May 02, 2006 at 04:12:32PM +0100, Joe Desbonnet wrote:
> Tim,
>
> If you develop your own template this should be very easy. My typical
> template JSP script will look something like what I've appended below.
> If I need to enable a site for something like Google Analytics I just
> paste the Javascript code into _template_footer.jsp file which is
> included by all templates in the project.
>
> Joe.
>
> <%@include file="lib/_jsp_header.jsp"%>
> <%@include file="lib/_template_header.jsp" %>
> <% /* ********** START OF BODY ********** */ %>
Just curious, Joe,
isn't it the idea of a template to provide such? Such that you
have a template in
/system/modules/org.yourcompnay.frontend/templates
and the elements (that are included within the template) in
/system/modules/org.yourcompnay.frontend/elements
--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de
More information about the opencms-dev
mailing list