[TYPO3-german] TS-Template für Tip-A-Friend

Daniel Selinger typo3 at dselinger.info
Mon Jun 4 16:23:13 CEST 2007


Miste, will auch nicht recht :-/
Aber guter Ansatz :) Merci


Am 04.06.07 schrieb Thorsten Kahler <thorsten.kahler at dkd.de>:
>
> Hi Daniel,
>
> try this:
>
> PHP:
> $this->templateCode = $this->cObj->TEMPLATE($this->conf['tsTemplate.']);
>
> TS:
> plugin.tipafriend.tsTemplate {
>         template = ...
>         subparts = ...
>         marks = ...
> }
>
> Ungetestet!
>
> Grüße
> Thorsten
>
> Daniel Selinger wrote on 04.06.2007 14:25:
> > Hoi,
> >
> > ich würde gerne ein TS-Template anstatt des Filetemplates nutzen.
> > Zu diesem Zweck habe ich in der TAF-Klasse
> >
> > $this->templateCode =
> > $this->cObj->fileResource($this->conf['templateFile']);]);
> >
> > in
> >
> > $this->templateCode = $this->cObj->stdWrap($this->conf['tsTemplate'],
> > $this->conf['tsTemplate.']);
>
> Könnte gehen, abhänig vom TS. Aber Umweg
>
> >
> > geändert.
> >
> > Dann im TS-Setup:
> >
> > templateFile.cObject < meinTStemplate
>
> Das templateFile ist nur ein String, stdWrap-Optionen helfen da nichts.
>
> >
> > Haut aber leider nicht so hin.
> > Hat einer eine Idee warum?
> _______________________________________________
> TYPO3-german mailing list
> TYPO3-german at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-german
>


More information about the TYPO3-german mailing list