Hi all,
I have the problem, in which Silverstripe is just trying to do more than I need. The situation: a forTemplate() method is called on a DataObject, using a template, as
function forTemplate() {
return $this->renderWith('template');
}
The result of this rendering will be written to a XML file, which is working fine. However, in the template.ss, I have included an <head> and <body> section, and silverstripe automatically populates these with its requirements from the CMS (javascripts, CSS). Can I prevent this some how (other than adding whitespaces to the tag names).
Kinds regards!
Maurice