[opencms-dev] OpenCMS Access

Christoph P. Kukulies kuku at physik.rwth-aachen.de
Thu Oct 15 16:50:46 CEST 2009


Markus,

what are you intending to do with readFile()?
Inclusion in templates is mostly done by
constructs like

<cms:template element="head" >
<cms:include file="../elements/head" element="head"/>
</cms:template>

Or do I misunderstand something.

On Thu, Oct 15, 2009 at 04:38:46PM +0200, May, Markus wrote:
> Hello,
> 
> We have now (finally) transferred our site to 7.5.1, thanks for the great help. We are now trying to do something really easy (at least I hope so).
> 
> We have a couple of files, which are basically full HTML-Files including the Header and so on. These are mainly used for emailing. Now we would like to use some Templates there as well, so that it is easier to use for our Authors.
> 
> Right now we are just using the CMSObject.readFile() Method, but this will not work, if we would like to use the Template variant. Any help?
> 
> Mit freundlichen Gr??en
> 
> Markus M. May
--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de



More information about the opencms-dev mailing list