|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
6 ANUR Smarty Rookie
Joined: 06 May 2003 Posts: 23 Location: Lille, France
|
Posted: Tue May 06, 2003 7:51 pm Post subject: Fetch() problem |
|
|
Hi all,
I am trying to fetch a template that is not in my template directory but I
can not make it work.
To be more precise I use themes on my site so my template directory changes
depending on the theme used but I also use a unique template for displaying
some debug informations which is in a separate directory.
I tried by passing the absolute and the relative paths to the template file.
Is there a way to do that ?
Thanks a lot.
Jean-Marc
PS: I have already sent this question to the general mailing list but it seems to have been rejected. Excuse me if it was actually sent. |
|
Back to top |
|
boots Administrator
Joined: 16 Apr 2003 Posts: 5611 Location: Toronto, Canada
|
|
Back to top |
|
6 ANUR Smarty Rookie
Joined: 06 May 2003 Posts: 23 Location: Lille, France
|
Posted: Wed May 07, 2003 8:02 am Post subject: |
|
|
Thanks a lot for your help.
In fact I already tried the "file:" method but I could not make it work. Maybe I did something wrong, I will look at it deeper.
Regards
Jean-Marc |
|
Back to top |
|
boots Administrator
Joined: 16 Apr 2003 Posts: 5611 Location: Toronto, Canada
|
Posted: Wed May 07, 2003 8:38 am Post subject: |
|
|
Post the code that isn't working the way you expect it to -- perhaps someone can spot the error.
Good-luck |
|
Back to top |
|
6 ANUR Smarty Rookie
Joined: 06 May 2003 Posts: 23 Location: Lille, France
|
Posted: Thu May 08, 2003 9:26 am Post subject: |
|
|
It works now using the "file:" syntax. I must have done some mysterious mistake the first time I tried
Thanks a lot for your help.
Regards. |
|
Back to top |
|
|
|
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
|