You could customize the file:
tpl_main_page.php
with the page(s) you want to show the banner 3 with the code in RED:
Code:if (($_GET['main_page'] == FILENAME_LOGIN) && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET3)) {
You could customize the file:
tpl_main_page.php
with the page(s) you want to show the banner 3 with the code in RED:
Code:if (($_GET['main_page'] == FILENAME_LOGIN) && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET3)) {
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
perfect! Thank you so much. It worked.
Now, for future reference, if for example I wanted to display the banner on a second page would I separate with comma like this?
PHP Code:if (($_GET['main_page'] == FILENAME_LOGIN,FILENAME_CREATE_ACCOUNT) && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET3)) {
No, each one has to be set separately ...
Or, you could get a little fancier with the code if you wanted to in order to make it shorter ...Code:if ((($_GET['main_page'] == FILENAME_LOGIN) || ($_GET['main_page'] == FILENAME_CREATE_ACCOUNT)) && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET3)) {
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
ok, thank you. Your help is very much appreciated. :-)