Hey guys,
after countless hours reading posts after posts, i feel like i'm worthless and need help... :frusty:
I am simply trying to get 2 editable sideboxes. As simple as it sounds, well, it isn't working too good for me.
Editable Sidebox Mod includes 4 files.
I duplicated and renamed all 4. To make it simple, i added a _2 at the end of them... so i got :
editable_sidebox_defines_2.php
define_editable_sidebox_content_2.php
editable_sidebox_2.php
tpl_editable_sidebox_2.php
In editable_sidebox_defines_2.php, it seems there are 3 things to change :
line 15 : define('BOX_HEADING_EDITABLE_SIDEBOX_2', '');
line 21 : define('DEFINE_EDITABLE_SIDEBOX_NAME_2', 'define_editable_sidebox_content_2');
In define_editable_sidebox_content_2.php, well, it's the content of that 2nd editable box, so it's easy enough.
In editable_sidebox_2.php, here is what i got (in blue, the changes made) :
$show_editable_sidebox_2 = true;
$define_sidebox = zen_get_file_directory(DIR_WS_LANGUAGES . $_SESSION['language'] . '/html_includes/custom/', 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);
}
Should anything else be changed ?
In tpl_editable_sidebox_2.php, i don't see anything to change. Am i wrong ?
Please, i am begging you... HELP !!! this is driving me nut...
(oh, and for some reasons those modifications are "blocking" part of my zencart : the center column disappeared) :censored::censored::censored:
Thank you for your time
D