PHP-Alternative zu REX_TEMPLATE[id]

Wie verwendet man Templates oder erstellt Navigationen und passt diese an.

PHP-Alternative zu REX_TEMPLATE[id]

Beitragvon MarcHerrmann » 27. Aug 2011, 13:28

Hallo Leute,

was ist denn die PHP-Pendant zu REX_TEMPLATE[id]?


Gruß Marc
MarcHerrmann
 
Beiträge: 23
Registriert: 5. Mai 2010, 18:14
Wohnort: Eppstein

Re: PHP-Alternative zu REX_TEMPLATE[id]

Beitragvon Oliver.Kreischer » 27. Aug 2011, 15:15

Hi,

Code: Alles auswählen
$meinTemplate = new rex_template(TEMPLATE_ID);
include $meinTemplate->getFile();


TEMPLATE_ID muss natürlich ersetzt werden..

LG
Oliver
http://kreischer.de - "It's very simple - you read the protocol and write the code." - Bill Joy
Benutzeravatar
Oliver.Kreischer
 
Beiträge: 1821
Registriert: 16. Dez 2004, 23:03
Wohnort: Feldafing


Zurück zu Templates/Navigationen [R4]

Wer ist online?

Mitglieder in diesem Forum: Google [Bot] und 2 Gäste