Why is this so hard?
I've been struggling for days trying to get this right.
Why can't the admin section just have an option to "Create New Sidebox"?
Why is this so hard?
I've been struggling for days trying to get this right.
Why can't the admin section just have an option to "Create New Sidebox"?
Because the Admin has no way of knowing what to put in the sidebox.
Most additional sideboxes are used to add functionality that is new to Zen Cart, so for which there is no programming available.
That's not always the case, extra category and banner boxes (for example) could re-use code already written. However this would need to be built into the structure of Zen Cart ... and has been for the forthcoming 2.0 release.
Last edited by kuroi; 12 Mar 2009 at 10:19 AM.
Kuroi Web Design and Development | Twitter
(Questions answered in the forum only - so that any forum member can benefit - not by personal message)
So If I understand correctly I create a php file (called my_banner_box3) containing:
<?php
define('SHOW_BANNERS_GROUP_SET10', 'MY BANNER NAME');
?>
OR I can change the codei n "tpl_banner_box3.php"
and enter the code into the "Configuration table"?
Where can I find the Configuration table?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 Groups - Side Box banner_box3', 'SHOW_BANNERS_GROUP_SET10', 'SideBox-Banners', 'The Banner Display Groups can be from 1 Banner Group or Multiple Banner Groups<br /><br />For Multiple Banner Groups enter the Banner Group Name separated by a colon <strong>:</strong><br /><br />Example: Wide-Banners:SideBox-Banners<br />Default Group is SideBox-Banners<br /><br />What Banner Group(s) do you want to use in the Side Box - banner_box3?<br />Leave blank for none', '19', '73', '', '', now());
![]()
The INSERT statement can be run in either Tools ... Install SQL Patches ... or you can run it in your phpMyAdmin for your database ...
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: v1.5.5]
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!
You can use an add on or make your own based on an existing sidebox as a model to make your new one ...![]()
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: v1.5.5]
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!
O.k I'm struggling to understand this. I'm completely new to php, zen cart and coding in general.
All I want to do is add an additional 2 sideboxes to my main page below the existing two. I've followed the guide up untill;
And now I'm lost. I don't know where that code should go or what my banner group name is. Could someone break it down a bit more for us beginners please?
I'm using Zen Cart 1.3.8a and my site is http://www.nmfurniture.com/
I am confused ...
You say you want to add new "sideboxes" ...
You show code for "banners" ...
What is it that you "really" want to do here ...![]()
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: v1.5.5]
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'm curious. What would you put in an additional categories box? Wouldn't it just repeat what was already in your categories box??
www.alepia.ch Alepia suisse
You can do anything you like ...
Some want multiple categories sidebox with different conditions on them for when the show or don't show or what categories they include or don't include ...
They would not be "idenitcal" to one another ... they would have differences to them that make them unique in some manner ...
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: v1.5.5]
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!
Bookmarks