|
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 |
kaosland Smarty n00b
Joined: 22 Dec 2010 Posts: 2
|
Posted: Wed Dec 22, 2010 3:49 pm Post subject: Help: {include} un tpl déjà en cache dans un autre tpl |
|
|
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 |
|
|
|
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
|