Reply
question about smarty templates
Old 10-19-2009, 01:03 AM question about smarty templates
Experienced Talker

Posts: 48
Trades: 0
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.
sudhakararaog is offline
Reply With Quote
View Public Profile
 
 
When You Register, These Ads Go Away!
Reply     « Reply to question about smarty templates
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 



Page generated in 0.09555 seconds with 13 queries