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

problem with template_c (2.6.3)

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


Joined: 17 Aug 2004
Posts: 2
Location: Poland

PostPosted: Tue Aug 17, 2004 10:20 am    Post subject: problem with template_c (2.6.3) Reply with quote

I have problem with template_c hadling
(smarty 2.6.3 php 4.3.4)

directory structure:
Code:

 + templates
  |     + default
  |      |    +header.tpl
  |      |
  |     + blue
  |         +header.tpl
 + template_c


and problem (i think) is in nameing the files in the 'template_c' . when I load the default/header.tpl and then blue/header.tpl and onec again I try to load default/header.tpl - smarty is useing the blue/header.tpl (from the templates_c directory)

Code:

require 'smarty/Smarty.class.php';
$smarty->template_dir = PGS_SERVER_DIR.PGS_HOME_DIR.'/templates/'.$PGS->PGS_config[PGS_theme].'/';
$smarty->compile_dir = PGS_SERVER_DIR.PGS_HOME_DIR.'/templates_c/';
$smarty->config_dir = PGS_DIR;

$smarty->display('header.tpl');


see www.dynamit.im.pwr.wroc.pl/wojtas/gwhere.org/
_________________
--
Wojtas O.
Back to top
View user's profile Send private message Visit poster's website
Wojtas
Smarty n00b


Joined: 17 Aug 2004
Posts: 2
Location: Poland

PostPosted: Tue Aug 17, 2004 1:20 pm    Post subject: sorry :] Reply with quote

Sorry for the previouse post
... i didn't read carefuly the manual
sore again.
_________________
--
Wojtas O.
Back to top
View user's profile Send private message Visit poster's website
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 -> Bugs 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