[TYPO3-dev] Using an HTML template with new extension
Franz Koch
typo3 at fx-graefix.de
Thu Mar 30 10:41:51 CEST 2006
Hi Sandy,
> # Get the template
> $this->templateCode =
> "http://www.mydomain.com/typo3conf/ext/my_extension/template.html";
Try this one:
-----------
# define the template-file. here you could also fetch a template set
# from within your extensions flexform or one that is set over TS
$templateFile = "EXT:".$this->extKey."/path/inside/extension/template.html";
$this->templateCode = $this->cObj->fileResource($templateFile);
-----------
--
Kind regards,
Franz Koch
More information about the TYPO3-dev
mailing list