|
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 |
Albert Wesker Smarty Rookie
Joined: 03 Jun 2003 Posts: 6
|
Posted: Tue Jun 03, 2003 3:21 pm Post subject: Getting HTML File into HTML File |
|
|
Greetings!
Perhaps this is a stupid Question but i simply got lost in the documentation.
$smarty->assign('AdminTop', XXX);
$smarty->display('cust.tpl');
Where the XXX are i tried to "call / use" another HTML file which should appear at the placeholder called "AdminTop".
OK - thats not working - assign is not made for this.
So - how can i tell the cust.tpl file to get another HTML file at the placeholder "XXX"?
ty for an answer in advance... as i said - i got lost in the documentation.
AW |
|
Back to top |
|
Hinrich Smarty Rookie
Joined: 18 Apr 2003 Posts: 33
|
Posted: Tue Jun 03, 2003 4:54 pm Post subject: Re: Getting HTML File into HTML File |
|
|
Albert Wesker wrote: | Code: |
$smarty->assign('AdminTop', XXX);
$smarty->display('cust.tpl');
|
|
Add in cust.tpl
Code: |
{include file=$AdminTop}
|
|
|
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
|