php pseudo frames with smarty

[email protected] ("Jonathan Dray") Tue, 19 Sep 2006 16:28:02 +0200
Newsgroups php.smarty.general
Message-ID <[email protected]>
Hi

I'm new to smarty and I'm trying to implement the php pseud-frames
navigation system with smarty.
Here is the way I'm doing it right now :


$smarty->display('header.tpl');
include 'mypage.php';
$smarty->display('footer.tpl');

the include page could be any ressource like images, php file, html or
other...

Is it a good / bad way of doing pseudo frames with smarty ?
Do you have other solutions / other navigation techniques ??