Zum Inhalt springen

path to ext

Erstellt am 5. Oktober 2006 · 5 Antworten · letzte Antwort am 12. Oktober 2006

Tags: Frage

rpretory ·

Hallo

im Moment binde ich ein template in die /pi/class.tx_xx_pi1.php
so ein:

$templatefile = $_SERVER['DOCUMENT_ROOT'].'/typo3conf/ext/xy/pi1/templates/template file.tpl';

gibt es eine besser Moeglichkeit??

Danke
Roman

rpretory ·

$pfad = EXT:database/pi1/template_table.tpl;

ergibt:
Parse error: parse error, unexpected T_VARIABLE in..

Da fehlt noch etwas?