Re: question about smarty templates

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Have you clear your cache directory? 







________________________________
From: finals27 <finals27@xxxxxxxxx>
To: php-objects@xxxxxxxxxxxxxxx
Sent: Monday, October 19, 2009 3:02:03
Subject:  question about smarty templates

   
i have 3 template folders called template1 template2 and template3

in the index.php file when i use the following and access
http://localhost everything works fine and i am able to display the value of variables defined in index.php

$smarty->template_ dir = 'c:/wamp/www/ smarty/templates ';

however when i change to
$smarty->template_ dir = 'c:/wamp/www/ smarty/templates /template1' ; 
or
$smarty->template_ dir = 'c:/wamp/www/ smarty/templates /template2' ; 
or
$smarty->template_ dir = 'c:/wamp/www/ smarty/templates /template3' ; 

and when i access http://localhost i am getting the output of 
$smarty->template_ dir = 'c:/wamp/www/ smarty/templates '; where as i have made a small chane in the index.tpl for template1,2and 3 a simple line = template 1 and then followed by displaying the value of variables

why am i getting the output of 
$smarty->template_ dir = 'c:/wamp/www/ smarty/templates /templates' ; 

when i am changing the $smarty to
$smarty->template_ dir = 'c:/wamp/www/ smarty/templates /template1' ; 

i have cleared the cache and also tried
http://localhost? clearcache= 1 and
http://localhost? clearall= 1

however i still see the output of 
$smarty->template_ dir = 'c:/wamp/www/ smarty/templates /templates' ; 

please advice.

thanks.


   


      

[Non-text portions of this message have been removed]


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux