Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Getting HTML File into HTML File

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Smarty Development
View previous topic :: View next topic  
Author Message
Albert Wesker
Smarty Rookie


Joined: 03 Jun 2003
Posts: 6

PostPosted: Tue Jun 03, 2003 3:21 pm    Post subject: Getting HTML File into HTML File Reply with quote

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
View user's profile Send private message
Hinrich
Smarty Rookie


Joined: 18 Apr 2003
Posts: 33

PostPosted: Tue Jun 03, 2003 4:54 pm    Post subject: Re: Getting HTML File into HTML File Reply with quote

Albert Wesker wrote:
Code:

$smarty->assign('AdminTop', XXX);
$smarty->display('cust.tpl');


Add in cust.tpl
Code:

{include file=$AdminTop}
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Smarty Development 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