Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Search found 4 matches
Smarty Forum Index
Author Message
  Topic: Cache system falsch verstanden? (Login Formular)
Athris

Replies: 8
Views: 29904

PostForum: Language: German   Posted: Wed Apr 12, 2017 5:32 pm   Subject: Cache system falsch verstanden? (Login Formular)
Das ist natürlich auch clever dass im PHP Code zu steuern Very Happy

Wobei ich mich frage ob es generell Sinn macht bei meinem Projekt das Cachesystem zu verwenden. Ein Browsergame ist eigentlich recht dyn ...
  Topic: Cache system falsch verstanden? (Login Formular)
Athris

Replies: 8
Views: 29904

PostForum: Language: German   Posted: Tue Apr 11, 2017 5:17 pm   Subject: Cache system falsch verstanden? (Login Formular)
Hatte jetzt mal probiert die Variable immer zu übergeben und im Template über count / isset zu prüfen:
PHP
$pntSmarty->assign('login_errors', $error_array, true);

Template

{if ...
  Topic: Cache system falsch verstanden? (Login Formular)
Athris

Replies: 8
Views: 29904

PostForum: Language: German   Posted: Mon Apr 10, 2017 9:04 pm   Subject: Cache system falsch verstanden? (Login Formular)
Mhm der dritte Parameter bewirkt leider gar nichts... es funktioniert nur wenn ich direkt im Template mittels {nocache} arbeite.

Ich habe es so probiert:

PHP Datei:
//Return error messages
if ...
  Topic: Cache system falsch verstanden? (Login Formular)
Athris

Replies: 8
Views: 29904

PostForum: Language: German   Posted: Thu Apr 06, 2017 9:39 pm   Subject: Cache system falsch verstanden? (Login Formular)
Hallo,

ich nutze erst seit kurzem Smarty und habe das Cache System aktiviert. Jetzt hatte ich bisher das Problem, dass ich meine Webseite mehrsprachig gestalte. Hierfür wird in der PHP Datei der de ...
 
Page 1 of 1
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP