Author |
Message |
Topic: Object erzeugt in Smarty einen Error |
smisonline2
Replies: 1
Views: 6912
|
Forum: Language: German Posted: Fri Jul 04, 2014 7:37 am Subject: Object erzeugt in Smarty einen Error |
Hallo,
folgene Zeile erzeugt bei jquery einen Fehler
var data = {m: "setter", c : "up"};
Fatal error: Uncaught --> Smarty Compiler: Syntax error in template "/ ... |
Topic: Sprache dynamisch? |
smisonline2
Replies: 7
Views: 14699
|
Forum: Language: German Posted: Thu May 22, 2014 9:44 am Subject: Languag |
OK, danke, jetzt klappt es:) |
Topic: Platzhalter in Smartycode? |
smisonline2
Replies: 0
Views: 6342
|
Forum: Language: German Posted: Thu May 22, 2014 9:43 am Subject: Platzhalter in Smartycode? |
Ich habe ein menu, dass wie folgt definiert ist
{section name=entry loop=$mainmenu}
<!--<li><a href="{$mainmenu[entry].li ... |
Topic: Sprache dynamisch? |
smisonline2
Replies: 7
Views: 14699
|
Forum: Language: German Posted: Mon May 19, 2014 2:28 pm Subject: Language |
Hallo,,
wirft beides einen Fehler:
Fatal error: Uncaught --> Smarty: Unable to read config file 'lang/$lang' <-- thrown in /home/external/Smarty/libs/sysplugins/smarty_internal_res ... |
Topic: Sprache dynamisch? |
smisonline2
Replies: 7
Views: 14699
|
Forum: Language: German Posted: Mon May 19, 2014 11:09 am Subject: Sprache dynamisch? |
Hallo,
aktuell lade ich eine Sprachdatei so
{config_load file='lang/de.lang.conf' section='home'}
Ich möchet nun aber diese dynamisch laden, also
{config_load file='lang/en.lang.conf' ... |
Topic: Dynaische Templates? |
smisonline2
Replies: 0
Views: 5628
|
Forum: Language: German Posted: Wed Mar 12, 2014 1:02 pm Subject: Dynaische Templates? |
Hallo,
ich möchte mit Smarty ein Haupttemplate erstellen, das einen Footer und Header included. Das habe ich soweit auch fertig. Nun möchte ich je nach Aufruf Subtemplates verwenden.
Also j ... |
Topic: test.conf |
smisonline2
Replies: 1
Views: 8254
|
Forum: Installation and Setup Posted: Wed Mar 12, 2014 11:46 am Subject: test.conf |
Hello,
i try thsi code from an exampel page
$smarty = new Smarty;
$smarty->setTemplateDir(LOCAL_SMARTY_TEMPLATE);
$smarty->setCompileDir(LOCAL_SMARTY_TEMPLATE_C);
$s ... |
|