Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

How to use relative path for tpl files?

 
Post new topic   Reply to topic    Smarty Forum Index -> General
View previous topic :: View next topic  
Author Message
joey
Smarty Regular


Joined: 29 Oct 2003
Posts: 57

PostPosted: Thu Jan 12, 2006 9:54 am    Post subject: How to use relative path for tpl files? Reply with quote

I want to update my framework with newest Smarty. Previous version is 2.6.0 . From now on I want to update to 2.6.11.

However after I overwrited my older version with 2.6.11,my programs can't work.I found that if I change the original relative path to absolute path.it can work.

how to use relative path in 2.6.11?
_________________
Joey
Senior Developer & Designer
-------------------------------------------
http://www.propagator.net
[SourceForge Project] Formcat with Smarty!
http://www.propagator.net/formcat/
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
boots
Administrator


Joined: 16 Apr 2003
Posts: 5611
Location: Toronto, Canada

PostPosted: Tue Jan 17, 2006 7:31 am    Post subject: Reply with quote

Hi joey.

Maybe this solution will work for you: http://www.phpinsider.com/smarty-forum/viewtopic.php?t=5985

Unless you mean the actual template (file="..") calls. If so, messju explains that change in behaviour here: http://www.phpinsider.com/smarty-forum/viewtopic.php?t=4725
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> General 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