Re: Admin-Editable Sidebox - Support Thread
Quote:
Originally Posted by
DamienDLSkinSolution
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
<?php
/**
* editable sidebox - allows a sidebox editable with the define pages editor to be added to your site
*
* @package templateSystem
* @copyright 2007 Kuroi Web Design
* @copyright Portions Copyright 2003-2007 Zen Cart Development Team
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: blank_sidebox.php 2007-08-10 kuroi $
*/
$content = '';
$content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">';
// this is where the content that you have via the Admin is pulled in.
$content .= file_get_contents($define_sidebox);
$content .= '</div>';
?>
It doesn't look like there is anything to change there. I also had a problem with it, but not with Blank Sideboxes. Maybe you should try that one.
Re: Admin-Editable Sidebox - Support Thread
Quote:
Originally Posted by
CharInLasVegas
Nevermind on my previous post,
Seems to me you didn't read the instructions carefully enough.
You need to replace ALL instances of "editable" with some other name.
Re: Admin-Editable Sidebox - Support Thread
Quote:
Originally Posted by
ckosloff
Seems to me you didn't read the instructions carefully enough.
You need to replace ALL instances of "editable" with some other name.
I believe I had done that, but the blank sideboxes is working fine anyway.
Re: Admin-Editable Sidebox - Support Thread
Quote:
It doesn't look like there is anything to change there. I also had a problem with it, but not with Blank Sideboxes too. Maybe you should try that one.
CharInLasVegas,
Thanks for the tip. I guess i'll try Blank Sidebox and see if i can get it to work.
If Kuroi or Ckosloff (or anyone else) see a solution to my problem, would still love some help. :blush:
Thanks,
D
Re: Admin-Editable Sidebox - Support Thread
problem which btw is on page 17, post #169 ( i probably should have mentioned it in the previous post)
Re: Admin-Editable Sidebox - Support Thread
I'm using Zen Cart 1.3.8
It's a Brand New Site
Here is the Link:http://russellwholesale.com/zencart/
I really need some help. I have a lot of catagories that i would like to display in a textfield with a scrollbar so that the page isn't 5 miles long. Can someone give me an idea of where to start? I can get the textfield in the editable sidebox but I can't get the categories/subcategories in it....
I'd really appreciate any help or ideas on this - I've been trying for hours and getting no where.....
Re: Admin-Editable Sidebox - Support Thread
Quote:
Originally Posted by
heatherlsi
I have a lot of catagories that i would like to display...
Try CSS fly-out categories menu or the Ajax manu.
These mods are in the download area, search keyword "menu".
Re: Admin-Editable Sidebox - Support Thread
Quote:
Originally Posted by
DamienDLSkinSolution
problem which btw is on page 17, post #169
Again, you have to replace ALL instances of "editable", including the file names.
Just use an editor like free PSPad and do a "Find and Replace".
Re: Admin-Editable Sidebox - Support Thread
Quote:
Originally Posted by
ckosloff
Again, you have to replace ALL instances of "editable", including the file names.
Just use an editor like free PSPad and do a "Find and Replace".
Thank you Ckosloff. I guess i am retarded 'cause i've tried a couple of time already. A friend of mine did too, but we got the same result : it ain't working.
Not a big deal. I'll try the other Mod from Kuroi and hope to have better luck.
:smile:
Thanks again for your time.
D
Re: Admin-Editable Sidebox - Support Thread
great mod, I have upload all files, so I see the box in layout boxes (admin) and also in home page.
But I don't see the tools>extra page editor, I don't see nothing here.
Also before I customize header I would to solve this.
How can I do?
Thank you
:blush: