|
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 |
GraveDigger Smarty Rookie
Joined: 27 Jun 2003 Posts: 5
|
Posted: Tue Aug 19, 2003 9:43 am Post subject: how to include html files in a template |
|
|
hi all,
maybe a stupid question...
(but I have big black hole in my mind at the moment =)
I have a template-set like: top, menu, bottom and main...
(or just have a look at: die.panzerkompanie.ch/cgi-bin =)
now, as soon as i fixed the menu problems - I want to show up an existing html file in the big blue rectangle after clicking on the menupoint...
if the user click's on another menupoint it will show the next html file in the blue rectangle....
do I have to add the smarty/php "frameset" to every html page I have?
or can I just load the html files in my index.tpl on the wished place (blue rectangle...
I know, sounds a little bit confusing, but I'm having a problem with the idea on how to use smarty for this =)
greetz & thnks
.Ralph |
|
Back to top |
|
mikeken Smarty Regular
Joined: 13 Aug 2003 Posts: 57 Location: MN
|
Posted: Tue Aug 19, 2003 2:32 pm Post subject: |
|
|
I think what you are looking for is the smarty, include function. It is in the smarty documentation...pretty straight forward |
|
Back to top |
|
GraveDigger Smarty Rookie
Joined: 27 Jun 2003 Posts: 5
|
Posted: Tue Aug 19, 2003 4:56 pm Post subject: |
|
|
ah... stupid me =)
I knew it was a stupid question.....
the next point know would be - am I using smarty the way it should be used.... (by dynamicly change the content on on part of the page) or not...
thnks
.Ralph |
|
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
|