Bonjour,
Utilisant smarty, j'ai une petite question :
Quand on fait un site avec par exemple un livre d'or et un afiichage de news, faut il faire (au niveau des dossiers de smarty) :
et
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4 $smarty->template_dir = 'c:/program files/easyphp1-7/www/prod/lib/thdparty/smarty/livreor/templates/'; $smarty->compile_dir = 'c:/program files/easyphp1-7/www/prod/lib/thdparty/smarty/livreor/templates_c/'; $smarty->config_dir = 'c:/program files/easyphp1-7/www/prod/lib/thdparty/smarty/livreor/configs/'; $smarty->cache_dir = 'c:/program files/easyphp1-7/www/prod/lib/thdparty/smarty/livreor/cache/';
ou utiliser les memes dosssiers smarty genre
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4 $smarty->template_dir = 'c:/program files/easyphp1-7/www/prod/lib/thdparty/smarty/news/templates/'; $smarty->compile_dir = 'c:/program files/easyphp1-7/www/prod/lib/thdparty/smarty/news/templates_c/'; $smarty->config_dir = 'c:/program files/easyphp1-7/www/prod/lib/thdparty/smarty/news/configs/'; $smarty->cache_dir = 'c:/program files/easyphp1-7/www/prod/lib/thdparty/smarty/news/cache/';
si je fais la 2eme solution n'y aura -t-il de pb au niveau de smarty?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4 $smarty->template_dir = 'c:/program files/easyphp1-7/www/prod/lib/thdparty/smarty/pages/templates/'; $smarty->compile_dir = 'c:/program files/easyphp1-7/www/prod/lib/thdparty/smarty/pages/templates_c/'; $smarty->config_dir = 'c:/program files/easyphp1-7/www/prod/lib/thdparty/smarty/pages/configs/'; $smarty->cache_dir = 'c:/program files/easyphp1-7/www/prod/lib/thdparty/smarty/pages/cache/';
merci d'avance
Partager