Hallo Konrad,

ja die Marker sind vorhanden!

Mein Typo3Root verzeichnis ist main: --> $this->templateCode = 
$this->cObj->fileResource('templates/wiseev_detailansicht.htm');

Leider ist immer noch die Ausgabe leer.

Obwohl jetzt nur noch ein return vorkommt

  # Get the template
  $this->templateCode = 
$this->cObj->fileResource('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);:

gruss
Christian
"Konrad Schiertz" <[EMAIL PROTECTED]> schrieb im 
Newsbeitrag 
news:[EMAIL PROTECTED]
vi heisst aber für mich shell, also ist das der absolute pfad, über web 
solltest du über diesen pfad die datei nicht einbinden können.

dein htdocs root müsste html sein, wenn ich mir den pfad anschaue?

wie wärs denn mit dem pfad "main/templates/wiseev_detailansicht.htm".

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


Hallo Konrad,
Pfad stimmt, über vi
/confixxrootdirectory/web7/html/main/templates/wiseev_detailansicht.htm
erreiche ich die Datei.

Template:
<h3>TEMPLATE</h3>
<em>This is a simple HTML-Template</em>
<!-- ###TEMPLATE### begin -->
 <h1>###MARKER1###</h1><h1>###MARKER2###</h1>
<!-- ###TEMPLATE### end -->

gruss
Christian





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

Antwort per Email an