TheWarden:
Ditto here.
daneh:
Still having issues with the second sidebox showing the same content as the first.
Anyone have any suggestions?
http://hiddenhillsnursery.com/shoppingcart
As far as I know, you have to duplicate all the files to your new editable sidebox name ie, editable_sidebox_defines_2.php and so forth.
Then you have to change all the instances within the new files to match your 2nd editable sidebox name.
File is editable_sidebox_defines_2.php
instance: BOX_HEADING_EDITABLE_SIDEBOX
change to: BOX_HEADING_EDITABLE_SIDEBOX_2
instance: DEFINE_EDITABLE_SIDEBOX_NAME
change to: DEFINE_EDITABLE_SIDEBOX_NAME_2
and so forth.
Do that for the file in modules/sideboxes
Here's how I have mine set up
$show_editable_sidebox_2 = true;
$define_sidebox = zen_get_file_directory(DIR_WS_LANGUAGES . $_SESSION['language'] . '/html_includes/', DEFINE_EDITABLE_SIDEBOX_NAME_2, 'false');
if ($show_editable_sidebox_2 == true) {
require($template->get_template_dir('tpl_editable_sidebox_2.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_editable_sidebox_2.php');
$title = BOX_HEADING_EDITABLE_SIDEBOX_2;
$title_link = false;
require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE, $current_page_base,'common') . '/' . $column_box_default);
After I did all this, it worked. 2nd I had to upload all the files. individually because I have a template monster template. I know...shame on me.
https://www.wildsociety.com
On my website where it says Los Angeles, New York, Chicago, San Francisco on the right and Authorize.net on the left are two separate editable sideboxes.
Hope this works for you.