[TYPO3] TemplaVoila compatiblity question
Sancar Saran
sancar.saran at evodot.com
Thu Jun 21 12:10:46 CEST 2007
Hi there,
I was try to convert one of our modules as typo3 extension. Also I'm trying to
support external templates.
I do same implementation of cd catalogger sceen cast example.
$this->templateFileContent =
$this->cObj->cObjGetSingle($this->conf['userFunc.']['altTemplateFile'],
$this->conf['userFunc.']['altTemplateFile.']);
if($this->templateFileContent)
{
$strContent =
$this->cObj->getSubpart($this->templateFileContent,'###BASE_CONTENT###');
$arrSubst = array();
$arrSubst['###FORM_LABEL###'] = 'DATE AND TIME ';
$arrSubst['###DATE###'] = '- DATE';
$arrSubst['###TIME###'] = 'TIME';
$content.= $this->cObj->substituteMarkerArrayCached($strContent,$arrSubst);
}
else
{
$content.=
" <table border='0' cellpadding='0' cellspacing='0' style='padding-top:1px;'>
....
}
It works fine, my question was
Is this model compatible with TemplaVoila ?
Regards
Sancar
More information about the TYPO3-english
mailing list