|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
chris81 Smarty n00b
Joined: 04 Jun 2004 Posts: 1
|
Posted: Fri Jun 04, 2004 2:30 pm Post subject: Includen von Template Datei funktoniert nicht. Warum?? |
|
|
Hallo,
ich bin noch relativ neu was die Programmierung mit Templates und Smarty angeht. Ich habe nun folgendes Problem:
Wenn ich eine andere Template Datei in ein Tempalte include z.b:
{include file="beispiel.tpl"} funktoniert dies einwandfrei, wenn ich jedoch anstatt dem aufruf "beispiel.tpl" eine Variable einfüge ( {include file=$zielseite} ), welche dann von einem PHP Skript übergeben wird, erhalte ich eine Fehlermeldung, dass die angegebene Ressource nicht gefunden werden kann.
Wie kann ich dieses Problem lösen???
Vielen Dank im vorraus |
|
Back to top |
|
kills Smarty Elite
Joined: 28 May 2004 Posts: 493
|
Posted: Fri Jun 04, 2004 2:36 pm Post subject: |
|
|
poste mal die zeile, in der du die zuweisung der tpl source machst |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|