1. die zwei returns sind schon mal eins zuviel...
2. nimm mal den pfad relativ zu deinem root
3. sind denn die marker1 und marker2 in deinem template vorhanden?

-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Auftrag von
Christian Hensel
Gesendet: Freitag, 25. Mai 2007 13:52
An: [email protected]
Betreff: Re: [TYPO3-german] Template in Extension auslagern


Hallo Joey,
ja ist drin. Wobei ich mir auch nicht ganz sicher bin, ob das
return $content;
nicht auch gelöscht werden könnte, da ja schliesslich über return 
$this->pi_wrapInBaseClass($content); die Ausgabe geregelt wird.

gruss
Christian:

Aktueller Code:
  $this->templateCode = 
$this->cObj->fileResource('/confixxrootdirectory/web7/html/main/templates/wiseev_detailansicht.htm');

  # Get the parts out of the template
  $template['total'] = 
$this->cObj->getSubpart($this->templateCode,'###TEMPLATE###');

  # create the content by replacing the marker in the template
  $markerArray['###MARKER1###'] = 'name1';
  $markerArray['###MARKER2###'] = 'marker2';

  $content .= 
$this->cObj->substituteMarkerArrayCached($template['total'],$markerArray);
  return $content;

  return $this->pi_wrapInBaseClass($content); 




_______________________________________________
TYPO3-german mailing list
[email protected]
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-german

Antwort per Email an