Forums / Addon Sideboxes / Admin-Editable Sidebox - Support Thread

Admin-Editable Sidebox - Support Thread

Views: 100,511

Results 321 to 335 of 335
20 May 2013, 8:21 PM
#322
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Admin-Editable Sidebox - Support Thread

brancasalvo:

ok, I put two grab.
I hope can be useful to understand the problem.

thanks

http://www.longiweb.it/uno.jpg
http://www.longiweb.it/due.jpg

and you forgot to include the MOST important information..

gjh42:

and the information requested in the "Posting Tips" above the reply box.

Do you have the correct Facebook code in the Facebook sidebox?? because based on your screenprints, you seem to only have the default text in there and not any code related to Facebook..

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

21 May 2013, 1:39 AM
#323
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Admin-Editable Sidebox - Support Thread

As DivaVocals says, you show only the default define text instead of facebook link text, but in any case, it is not displaying in the editable sidebox output content. Also, you show that the editable sidebox is turned off, which conflicts with the display that was visible on your site. So we are no closer to understanding the cause of your problem.

21 May 2013, 5:21 PM
#325
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Admin-Editable Sidebox - Support Thread

brancasalvo:

I'm sorry for my english
Hello, I have installed zencart: http://brancasalvo.site50.net/index.php, the admin side: http://brancasalvo.site50.net/adminn/
login: salvo2013
password: help2013

I ask for help to bring up something on the form Editable Sidebox.zip

thanks

I hope to HECK that this is a test store.. Because posting your admin login and password exposes your site to a whole worldful of crazy..:yes: Not sure why you think this is preferable to simply posting the information you were asked to supply.. but to each his own.. :wacko: (not to mention.. not everyone here speaks/reads Italian and the whole site is in Italian.. so I'm not sure a bunch of English speakers are gonna be able to get around after logging in)

Even with this information you STILL have not indicated what Facebook code you SHOULD be using and WHERE you are entering it.. It's honestly the ONLY way to figure out WHY your Facebook code isn't working with the Admin-Editable sidebox.

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

22 May 2013, 9:07 AM
#326
brancasalvo avatar

brancasalvo

New Zenner

Join Date:
Apr 2010
Posts:
8
Plugin Contributions:
0

Re: Admin-Editable Sidebox - Support Thread

hello, there are problems with login and password the site is just for testing.
I put the code on the website (login: pass salvo2013: help2013) to display facebook but nothing changes. The code now can be seen from the admin side.

Attachment 12530

20 Jan 2014, 2:07 AM
#327
godt avatar

godt

Zen Follower

Join Date:
Mar 2006
Location:
Melbourne, Australia
Posts:
378
Plugin Contributions:
0

Re: Admin-Editable Sidebox - Support Thread

I have two sideboxes set using this module, but neither responds to any box-specific css. So, I have #editablesidebox.leftBoxContainer and #editablesideboxw.leftBoxContainer showing in Chrome develop tools, but whiat ever css I set up for these, the boxes only respond to the standard .leftBoxContainer.

Is there somewhere in the files where I need to indicate the box name? I cannot see such a thing.

21 Jan 2014, 2:31 AM
#328
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Admin-Editable Sidebox - Support Thread

When you view the page sourrce, what exactly is the id of each of these sideboxes? Capitalization matters.
Can we see the site live?

21 Jan 2014, 10:17 AM
#329
godt avatar

godt

Zen Follower

Join Date:
Mar 2006
Location:
Melbourne, Australia
Posts:
378
Plugin Contributions:
0

Re: Admin-Editable Sidebox - Support Thread

Thanks for your reply gjh42. You are right of course. And in my state, I added a reply here, and failed that as well. I realised after some time that where I was assiduous in backing up my css file before I messed about, I was making changes to my test file but copying over my backup file through ftp.

I know what you're thinking. There isn't even much to learn here for someone else. My angst is heightened by my noticing that you replied at 3.30am.

21 Jan 2014, 3:53 PM
#330
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Admin-Editable Sidebox - Support Thread

Actually, it was 9:31 pm for me when I responded:)

If you were copying over your backup file, that would indicate that it was on the server as a CSS file. This can lead to untold headaches, as any style*.css file in the /css/ folder will be autoloaded and applied, so your backup could keep changes to the "real" file from taking effect. If you need to keep a backup on your server, rename it from .css to .css-bak or anything else that will not be processed as code. (".bak" is discouraged by I think PCI for security reasons.)

23 Jan 2014, 5:18 AM
#331
godt avatar

godt

Zen Follower

Join Date:
Mar 2006
Location:
Melbourne, Australia
Posts:
378
Plugin Contributions:
0

Re: Admin-Editable Sidebox - Support Thread

Kind of working in reverse. Whenever I work on site files, I copy the current file to a backup directory on my PC by ftp, as well as to my working directory. That way, I can always go back to the beginning. The problem is that, happily - or otherwise working on changes to my working file, I can blindly copy over the backup file if it was the last I accessed through ftp.

Guess what? My changes have no effect. Sometimes it takes me a while...

And of course, it must be more complex than that.

18 Oct 2014, 12:23 AM
#332
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Re: Admin-Editable Sidebox - Support Thread

zc 1.3.9h
Hello,

I am having trouble with an 'additional' sidebox (the original sidebox is fine). Sidebox_2 is showing up on the page OK and the box header title is correct and the box shows up under Admin>Define Page Editor however the 'content' for the box will not load - it does show up correctly on includes/languages/english/html_includes/define_editable_sidebox_2_content.php - I have checked and rechecked the 'duplicated' files for errors and cannot see any - I think maybe it is a naming convention or something with the second box - here are the files for sidebox_2;
includes/languages/english/extra_definitions/define_editable_sidebox_2_content.php
// Enter your preferred header for the sidebox (or leave it blank) by editing between the 2nd set of single quotes below.
// If you have multiple editable sideboxes, you will also need to change the 1st parameter
// e.g. BOX_HEADING_EDITABLE_SIDEBOX_2 or something more memorable if you prefer
define('BOX_HEADING_EDITABLE_SIDEBOX_2', 'Xmas Discount');[this does show up correctly on header]

// If you change the name of the html_include file with the sidebox content, put the new name,
// without the ",php" suffix between the 2nd set of single quotes below.
// If you have multiple editable sideboxes, you will also need to change the 1st parameter
// e.g. DEFINE_EDITABLE_SIDEBOX_NAME_2
define('DEFINE_EDITABLE_SIDEBOX_NAME_2', 'define_editable_sidebox_2_content');[probelm?]

includes/modules/sideboxes/editable_sidebox_2.php

// test if box should display
$show_editable_sidebox_2 = true;

$define_sidebox_2 = zen_get_file_directory(DIR_WS_LANGUAGES . $_SESSION['language'] . '/html_includes/', DEFINE_EDITABLE_SIDEBOX_2_NAME, 'true');

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);
}
?>

includes/templates/template_default/tpl_editable_sidebox_2.php

*/

$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_2);

$content .= '</div>';
?>

Looking forward to some assistance please.

cheers, Mike

18 Oct 2014, 3:13 AM
#333
godt avatar

godt

Zen Follower

Join Date:
Mar 2006
Location:
Melbourne, Australia
Posts:
378
Plugin Contributions:
0

Re: Admin-Editable Sidebox - Support Thread

I recall similar issues and in the end sidestepped them by using the Blank Sidebox:

http://www.zen-cart.com/downloads.php?do=file&id=80

18 Oct 2014, 1:59 PM
#334
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Admin-Editable Sidebox - Support Thread

I notice this: > // e.g. DEFINE_EDITABLE_SIDEBOX_NAME_2

define('DEFINE_EDITABLE_SIDEBOX_NAME_2', 'define_editable_sidebox_2_content');[probelm?]

includes/modules/sideboxes/editable_sidebox_2.php
...
$define_sidebox_2 = zen_get_file_directory(DIR_WS_LANGUAGES . $SESSION['language'] . '/html_includes/', DEFINE_EDITABLE_SIDEBOX2_NAME, 'true');
Using a different form of the constant name will cause it to be unrecognized.

29 Oct 2014, 3:15 AM
#335
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Re: Admin-Editable Sidebox - Support Thread

Blank Sidebox query - how can the blank space between top of box border and content and bottom of box border and content be reduced or deleted?

cheers,
Mike

P.S. Thanks Glen for your observation in the above post - I have reverted to using 'Blank-Sidebox' as for some reason or other I find the re-naming of files easier