Smarty and Frames Question
| From: | Andrei Verovski | Date: | Wed, 23 Apr 2003 08:28:39 +0000 |
| Subject: | Smarty and Frames Question | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-9362@lists.php.net to get a copy of this message | ||
Hi,
I have quite complex framed layout (7 frames), which I would like to use with Smarty. The frameset files and content of the frames are scattered in directories 'main' and '/main/contacts/'.
So I have initialized: template_dir = array('/main/', '/main/contacts/');
However, after calling Smarty:
$smartyContacts -> assign(blah blah blah);
$smartyContacts -> display('main_fset.tpl.html');
only HTML file 'main_fset.tpl.html' is being displayed, all other content in subdirectory '/main/contacts/' is being lost.
Anyone have a clue why it happens?
Thanks in advance for any suggestion(s).
*********************************************
* Best Regards --- Andrei Verovski
*
* Personal Home Page
* http://snow.prohosting.com/guru4mac
* Mac, Linux, DTP, Development, IT WEB Site
*********************************************