The Banners Box All uses this sql statement to add itself to the Layout Settings:
You can adapt this INSERT to work with your new configuration_key for the:PHP Code:INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) VALUES ('Banner Display Group - Side Box banner_box_all', 'SHOW_BANNERS_GROUP_SET_ALL', 'BannersAll', 'The Banner Display Group may only be from one (1) Banner Group for the Banner All sidebox<br /><br />Default Group is BannersAll<br /><br />What Banner Group do you want to use in the Side Box - banner_box_all?<br />Leave blank for none', '19', '72', '', '', now());
SHOW_BANNERS_GROUP_SET_ALL2
This will allow you to configure it in the Layout Settings as well as ensure that it is loaded at the right time to work with your new sidebox ... providing all else is coded correctly ...
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!
im really sorry ajeh,
where do i insert the adapted sql statement into?
If you use the Tools ... Insert SQL Patches ...
It will add it to your database configuration table for you ...
NOTE: read that carefully as that is the one for the original configuration_key for:
SHOW_BANNERS_GROUP_SET_ALL
You will want to edit it a bit for your configuration_key for your new sidebox:
SHOW_BANNERS_GROUP_SET_ALL2
And perhaps update the text etc. to reflect which box this is when viewing it from the Layout Settings ...
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!
omg ajeh!
it worked!
you really made my week!
much praise to you for your great help and patience w/ my questions!
<3 ajeh and zencart !!!
-Becky Lee
KNC
/me *thud* ...![]()
Remember us when you are rich and famous ...![]()
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!
i wish! lol
oh btw... i forgot to ask... (here i go again)
would you know how i can change the spacing between the banners in banner_all? i want the images to be a bit closer together.
lol thx!
View source ... see if this is breaks or class managed ...
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!
i looked around in templates and modules and havent seen anything that mentions breaks or class in the banner_all groups
psst ...
PHP Code:// add spacing between banners
if ($banner_cnt < $banners_all->RecordCount()) {
$content .= '<br /><br />';
}
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!