|
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 |
Demerzel Smarty Rookie
Joined: 31 Jan 2010 Posts: 26
|
Posted: Sat Aug 14, 2010 2:18 pm Post subject: reading aditional file to html |
|
|
Is it possible to read aditional file and ad it content to main html file?
For example I have files a.html b.html and shared.html. I would like to insert shared.html in the midle of a and b. Using php echo is NOT an option. |
|
Back to top |
|
mohrt Administrator
Joined: 16 Apr 2003 Posts: 7368 Location: Lincoln Nebraska, USA
|
Posted: Sat Aug 14, 2010 4:42 pm Post subject: |
|
|
if you mean including other templates (in template dir), use {include ...}. If you want to include static files, use {fetch ...} |
|
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
|