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

Smarty Caching

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: German
View previous topic :: View next topic  
Author Message
~Chris~
Smarty n00b


Joined: 05 Jun 2015
Posts: 1

PostPosted: Fri Jun 05, 2015 9:26 pm    Post subject: Smarty Caching Reply with quote

Hallo zusammen,

ich bräuchte heute einmal Hilfe von jemanden der sich mit dem Caching auskennt.

Hab hier gerade das Problem mit dem Formularfeldern :
Hier wird bei unterschiedlichen Benutzern in den Selectfeldern immer der gleiche Wert vorselectiert, obwohl eigentlich ein ganz anderer Wert laut Datenbank als selected steht.

Hier mein kleiner Code Ausschnitt:
Code:

{nocache}
 <select  name="{$formFlag}_leadership_skills_3_0" class="form-control">
   {html_options values=$id_leadership_skills output=$titles_leadership_skills selected=$selectID_leadership_skills nocache}
 </select>
 {/nocache}


Würde mich echt über eine Rückmeldung freuen.

EDIT:
Auch ein $smarty->caching = false; am anfang in die Index, zum Test hat leider nicht geholfen.
Back to top
View user's profile Send private message
U.Tews
Administrator


Joined: 22 Nov 2006
Posts: 5068
Location: Hamburg / Germany

PostPosted: Sat Jun 06, 2015 10:10 am    Post subject: Reply with quote

Schau Dir mit $smarty->debugging = true; erst einmal welche Daten Du wirklich für die Seöect Felder übergibst.

Am template code kann es nicht liegen.
In {html_options} ist das nocache eigentlich überfüssig da Du in einer {nocache}{/nocache} Sektion bist.
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: German All times are GMT
Page 1 of 1

 
Jump to:  
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
Protected by Anti-Spam ACP