![]() |
Still.............POPUP is a problem?..........Help!
Hello,
I am tired of testing popup. I had earlier placed my problems in regards to popup and the answers i got didn't help me a bit. My problem ------------------ i was told to follow some steps. I was told it is necessary to have a php file to be called into popup window and the php file so made should call tpl file to display it. What i did : 1) I created a new folder in "customer" folder the "popup". There i created two files --- a) popup-licence.php and b) popup-licence.tpl ** Please if there are any pitfalls in the coding do correct them so that they work** Coding : popup-licence.php ------------------------------------------------- <?php $smarty = new Smarty; $smarty->assign('Contacts', array('fax' => '555-222-9876', 'email' => 'zaphod@slartibartfast.com', 'phone' => array('home' => '555-444-3333', 'cell' => '555-111-1234'))); $smarty->display('customer/popup/popup-licence.tpl'); ?> ----------------------------------------------------------------------------------- Coding : popup-licence.tpl ------------------------------------------------- {$Contacts.fax} {$Contacts.email} {$Contacts.phone.home} {$Contacts.phone.cell} </p> --------------------------------------------------------------------------------- In the home.tpl file i hyperlinked an image (to the left below help) to popup above page see what is being shown in the popup window: http://www.templatearena.com/xcart/customer Please help me resolve the problem asap. I would be ever greatful to you. Thanks :D |
Your popup.tpl should be in skin1/customer then it should work :D
|
:cry: Hi,
I saved both the files to skin1/customer but i got nothing! Check by yourself : http://www.templatearena.com/xcart/customer Remember i am repeating the things. These trials i have already done and had been failure. Can you give me in writing here a small working example in which just a small sentence say "Hello! Brother" is displayed. Can you do this to me? I suppose this would be better for me atleast. I am waiting for you reply, brother. Hope you will not diappoint me. best regards |
All times are GMT -8. The time now is 05:23 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.