You could put the PHP code that belongs between the <head>...</head> tags into /includes/templates/YOUR_TEMPLATE_NAME/jscript/jscript_expop.php
And the code that belongs before the closing </body> tag at the bottom of tpl_main_page.php
You could put the PHP code that belongs between the <head>...</head> tags into /includes/templates/YOUR_TEMPLATE_NAME/jscript/jscript_expop.php
And the code that belongs before the closing </body> tag at the bottom of tpl_main_page.php
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
i tried that and it doesn't work any other suggestiongs??
Find a link to the site here
Um ... You've set the site to use the Classic template, but you've evidently not added the jscript_expop.php file to the includes/templates/classic/jscript/ folder, nor have you edited the /includes/templates/classic/common/tpl_main_page.php file.
Perhaps you made changes in a different template instead. In that case, you need to activate that template for it to work.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
In my includes/templates/classic/jscript/ i have a file jscript_expop.php this has the content of <?php require_once '/homex/xxxxxxxxx/public_html/web-entrance-messenger/watcher.php'; WebEntranceHeader(); ?>
in my includes/templates/classic/common i have a file tpl_main_page.php with <?php WebEntranceMessage(); ?> right before the </body> tag on the last line!!
but its still not working !!
P.S. the XXXXX's are for security to my account but are correct!!
this site is a clean install of 1.5.0 if that makes any difference - i can get the Expop (exit popup) to work by editing the files you told me
but the web entrance message doesn't want to cooperate!! as per posts above!