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

Help: {include} un tpl déjà en cache dans un autre tpl

 
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: French
View previous topic :: View next topic  
Author Message
kaosland
Smarty n00b


Joined: 22 Dec 2010
Posts: 2

PostPosted: Wed Dec 22, 2010 3:49 pm    Post subject: Help: {include} un tpl déjà en cache dans un autre tpl Reply with quote

Bonjour,

Voici mon problème

disons j'ai un tpl main qui a dans
{include file='menu.tpl' cache_id='user'}

avant le display de main.tpl j'ai déjà crée le tpl menu.tpl ( qui utilise des variable...) mise en cache avec id user (par un fetch si vous connaissez une autre méthode pour mettre en cache je prend).
Lors du display j'ai des ereurs (en gros il me prend pas le ficher de cache, il m'en crée un autre et donc il me dit que toutes les variables de j'utilise dans le tpl menu , sont pour lui Undefined variable).

Merci d'avance de votre aide.

Cordialement
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: French 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