I have done this way. I think its as you directed me:
1. Created a php file in customer/sample1.php
CODE : sample1.php
$smarty = new Smarty;
$smarty->assign('Contacts',
array('555-222-9876',
'zaphod@slartibartfast.com',
array('555-444-3333',
'555-111-1234')));
$smarty->display('sample1.tpl');
2. Created a tpl file in customer/sample1.tpl
CODE : sample1.tpl
{$Contacts[0]}
{$Contacts[1]}
{* you can print arrays of arrays as well *}
{$Contacts[2][0]}
{$Contacts[2][1]}
3. In home.tpl i called sample1.php through pop-up code :
<font size=2> Click</font>
and the result see
http://www.templatearena.com/xcart/customer
Donot forget to click on the link "Click" (towards right)
Can you give me a working example please!
I am just a newbie. It would be better for me if you give me a step by step small instruction to build a popup in which a file is called in the popup.
I would be ever greatful to you.
thanks. hope for the best.
bye