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

Admin-Editable Sidebox - Support Thread

Views: 100,511

Results 61 to 80 of 335
28 Mar 2008, 8:35 PM
#61
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Admin-Editable Sidebox - Support Thread

faith:

I was having the same problem so I went through each of the files again and searched for the word 'editable'. I eventually stumbled across one that I had missed.Faith is right. This is the only possible reason for code or titles being shared between sideboxes. Only if the duplicate has not been 100% separated from the original can it access the original's data.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

28 Mar 2008, 9:09 PM
#62
tropheus avatar

tropheus

New Zenner

Join Date:
Jun 2004
Posts:
25
Plugin Contributions:
0

Re: Admin-Editable Sidebox - Support Thread

Thanks Kuroi,

Works a treat

Tropheus

29 Mar 2008, 1:01 AM
#63
daneh avatar

daneh

Zen Follower

Join Date:
Dec 2007
Location:
Southern Maine
Posts:
268
Plugin Contributions:
0

Re: Admin-Editable Sidebox - Support Thread

Kuroi,

It is not the names of the boxes that are the same, it is the content. I have tried on numerous occasions to get this to work, but each time, the content is the same. I will look again to see if I have missed changing editable sidebox to editable sidebox 2, but I have done that numerous times.....I didn't think I was dumb, but I guess I have to consider it if I can't get this figured out...LOL

29 Mar 2008, 1:11 AM
#64
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Admin-Editable Sidebox - Support Thread

daneh:

It is not the names of the boxes that are the same, it is the content.I know. It was a general comment, not directed specifically at your issue.

However, for your specific issue, I would recommend concentrating on line 15 of the module file and line 21 of the language folders sidebox_defines file.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

29 Mar 2008, 1:12 AM
#65
faith avatar

faith

New Zenner

Join Date:
Mar 2008
Posts:
13
Plugin Contributions:
0

Re: Admin-Editable Sidebox - Support Thread

daneh:

Kuroi,

It is not the names of the boxes that are the same, it is the content. I have tried on numerous occasions to get this to work, but each time, the content is the same. I will look again to see if I have missed changing editable sidebox to editable sidebox 2, but I have done that numerous times.....I didn't think I was dumb, but I guess I have to consider it if I can't get this figured out...LOL

If it helps, I made the mistake with both my box titles and my content. I was building 5 boxes at once and when you are doing that, 20 files (if I remember correctly) are a lot to change. It's really easy to miss a change...has nothing at all to do with being dumb. Believe me, if any of us were dumb, we wouldn't be learning this stuff. Instead, we would be hanging out watching the grass grow.

Try using Ctrl+F in whatever software you are using to view the code and see if it will provide you with the Find feature. Then just type in the word 'editable.'

I'm sure you'll get this figured out soon but I do know it is frustrating! Good Luck!

29 Mar 2008, 7:04 PM
#66
pwood31 avatar

pwood31

New Zenner

Join Date:
Mar 2008
Posts:
24
Plugin Contributions:
0

Re: Admin-Editable Sidebox - Support Thread

I have just read each post in this support thread hoping to find someone who has the same issue as I do.

The editable sideboxes are my dream come true -- except I can't get the content to show up.

I followed each instruction, put the file in each place (I've checked each one at least a dozen times).

I have the box turned on in the admin console and the box with the correct title shows up on the web-site.

I went to define-pages and added my content ... it is "there", but it does not show up. I checked the files and the content does appear in the define_editable_sidebox_content.php file under / public_html / includes / languages / english / html_includes / (Current Folder)

My zen-cart version is1.3.8a and I am using the Sophy Blue template

Thank you in advance for any insight you can offer.... I was so excited about this module and am quite disappointed that I haven't been able to put it to the good uses I intend it for.

Patty
Upstate NY
www.birdhousesetcetera.com

31 Mar 2008, 8:37 PM
#67
gourmets avatar

gourmets

New Zenner

Join Date:
Jan 2007
Posts:
61
Plugin Contributions:
0

Re: Admin-Editable Sidebox - Support Thread

I have installed this mod a few days ago trying to use it for one category only. I found a thread that instructed me to put the following code into the editable_sidebox.php file, however when I do this and turn on the editable_sidebox in layout boxes controller, ALL of my sideboxes disappear, including my specials and featured sideboxes...on ALL of my pages.

if ($current_category_id == '1' || $current_category_id == '4' || $current_category_id == '5') 
$show_editable_sidebox = true;
}
else
{ $show_editable_sidebox = false; }

Can anyone tell me what might be wrong, or how I can use this new sidebox to display within 1 category only? Thanks.

31 Mar 2008, 8:49 PM
#68
gourmets avatar

gourmets

New Zenner

Join Date:
Jan 2007
Posts:
61
Plugin Contributions:
0

Re: Admin-Editable Sidebox - Support Thread

Disregard this message. I figured it out. Was just missing a bracket.

3 Apr 2008, 4:13 AM
#69
masterrusty avatar

masterrusty

Zen Follower

Join Date:
Mar 2007
Location:
Oregon
Posts:
152
Plugin Contributions:
0

Re: Admin-Editable Sidebox - Support Thread

I am having trouble with this.

They work as long as they are named editable_sidebox, but not when the name is changed.

The files have comments within them which say what needs to be changed, except for the editable_sidebox.php file, and tpl_editable_sidebox.php. Do these files need to have anything changed inside of them?

The instructions also indicate that you can place"virtually any html code" into the define_editable_sidebox_content.php file. Some HTML code just doesn't seem to work. What are the code limits for sideboxes.

17 Years and still just a "Follower." :P

15 Apr 2008, 1:08 PM
#70
formadmirer avatar

formadmirer

New Zenner

Join Date:
Jan 2007
Location:
SE US
Posts:
13
Plugin Contributions:
0

Re: Admin-Editable Sidebox - Support Thread

grfa02:

Thanks for the great contribution!

Is there a way to make it so that the editable sidebox does not appear on the check out pages ?

I need the same thing. The content for my sidebox is pulled from another site. All is good on non-ssl pages, but on ssl-pages the fact that the pulled-in content is not secure is causing the page it is displayed on to become non-secure.

I tried constructing an if statement along the lines of
if ($connection == 'SSL') {
blah blah blah
and placing this in the /includes/modules/sideboxes/sideboxname.php file, but with no luck.

(something clever goes here)

15 Apr 2008, 2:05 PM
#71
formadmirer avatar

formadmirer

New Zenner

Join Date:
Jan 2007
Location:
SE US
Posts:
13
Plugin Contributions:
0

Re: Admin-Editable Sidebox - Support Thread

Anyone needing the same thing (sidebox on non-ssl pages only) try this, it worked for me.

in
/includes/modules/sideboxes/sideboxname.php
(where 'sideboxname' is the name of your sidebox)

just replace this:
// test if box should display
$show_sideboxname = true;

with:

// show only on non-secure pages
switch ($request_type) {
case ('SSL'):
$show_sideboxname = false;
break;
case ('NONSSL'):
$show_sideboxname = true;
break;
}

The box will show on non-SSL pages only.

(something clever goes here)

15 Apr 2008, 4:27 PM
#72
disciple avatar

disciple

Totally Zenned

Join Date:
Aug 2004
Posts:
278
Plugin Contributions:
0

Re: Admin-Editable Sidebox - Support Thread

I have installed the mod with no issues. My box shows up but my content does not.

I have placed a form in the side box to subscribe to our newsletter (we don't use the zen cart newsletter) It looks to the cgi-bin for the script.

In the admin-->define pages it shows up fine but on the site the box is empty.

What should I be looking for? Can't seem to get it to show no matter what I try.

Thanks

Rick

20 Apr 2008, 5:52 PM
#73
stamper avatar

stamper

New Zenner

Join Date:
Mar 2008
Posts:
38
Plugin Contributions:
0

Re: Admin-Editable Sidebox - Support Thread

I created an editable sidebox to display a Flickr feed a sample photo gallery.
The sidebox content consists of a table containing a javascript link. Here is the HTML result:

<div id="samplegallerysidebox" class="leftBoxContainer" style="width: 14em;">
<h3 id="samplegallerysideboxHeading" class="leftBoxHeading">Sample Gallery</h3>
<div id="samplegallerysideboxContent" class="sideBoxContent centeredContent">
<p style="text-align: center;"/>
<table id="flickr_badge_wrapper" cellspacing="10" cellpadding="0" border="0" align="center">
<script src="http://www.flickr.com/badge_code_v2.gne?count=3&display=random&size=t&layout=v&source=user&user=25757364%40N03" type="text/javascript">
</script>
<tbody>
<tr>
</tr>
<tr>
</tr>
<tr>
</tr>
</tbody>
</table>
</div>
</div>

When viewed in Explorer the three images are centered in the sidebox just fine. However, in Firefox 3b5 I can't get them away from the left side of the box. I tried different variations in both the blank sidebox and editable sidebox modules to no avail. Can anyone help? :lookaroun

My site is here

21 May 2008, 8:18 PM
#74
user2345 avatar

user2345

New Zenner

Join Date:
May 2008
Posts:
13
Plugin Contributions:
0

Re: Admin-Editable Sidebox - Support Thread

Hi
I tested bouth the Blank Sidebox and now the Editable Sidebox, and it seems like its not working embeding flash within the box.
Can some one confirm?

<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" 
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" 
WIDTH=190 HEIGHT=150> 
<PARAM NAME=movie VALUE="news01.swf"> 
<PARAM NAME=menu VALUE=false> 
<PARAM NAME=quality VALUE=high> 
<PARAM NAME=wmode VALUE=transparent> 
<PARAM NAME=scale VALUE=noscale>
<EMBED src=news01.swf menu=false quality=high wmode=transparent
 scale=noscale WIDTH=190 HEIGHT=150 TYPE="application/x-shockwave-flash" 
PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
</EMBED>
</OBJECT>
22 May 2008, 3:26 PM
#75
stamper avatar

stamper

New Zenner

Join Date:
Mar 2008
Posts:
38
Plugin Contributions:
0

Re: Admin-Editable Sidebox - Support Thread

[QUOTE=user2345;560192]Hi
I tested bouth the Blank Sidebox and now the Editable Sidebox, and it seems like its not working embeding flash within the box.
Can some one confirm?

They both work if the flash object is called from a javascript. I use the Godaddy Seal contribution whick puts a flash seal in a sidebox. Maybe you could check out the code from there?:lookaroun

23 May 2008, 1:49 PM
#76
user2345 avatar

user2345

New Zenner

Join Date:
May 2008
Posts:
13
Plugin Contributions:
0

Re: Admin-Editable Sidebox - Support Thread

Another question then:
How to remove the whole header block for this sidebox?

27 May 2008, 1:06 AM
#77
craft_magick avatar

craft_magick

Zen Follower

Join Date:
Nov 2007
Posts:
166
Plugin Contributions:
0

Re: Admin-Editable Sidebox - Support Thread

I just installed the Editable sidebox mod but the contents do not show up (it's a java script for newsletter subscription).

The header title I renamed it to is "Newsletter Sign-up" (per the README file) in the includes/languages/english/extra_definitions/editable_sidebox_defines.php file doesn't show up, either. The title of the box is "Your header in Here"

It also REPLACED my wish list box which I don't understand.

It seemed like a simple install and I followed directions.

Here is a link to the website: http://www.ZenCrystals.com

Any help would be greatly appreciated.

Thanks,
Connie

P.S. on a side note -- i chose NOT to use the Zen Cart newsletter program because I need the STATS on views/clicks, etc. as well as a program that will automatically handle unsubscribes, and includes autoresponders. If anyone knows of a fairly simple to use (I am NOT a programmer:smile:) newsletter program that is open source and will work with Zen Cart I would be welcome to suggestions.

www.ZenCrystals.com
www.CraftMagick.com
Magickal & Metaphysical supplies/services

27 May 2008, 1:54 AM
#78
craft_magick avatar

craft_magick

Zen Follower

Join Date:
Nov 2007
Posts:
166
Plugin Contributions:
0

Re: Admin-Editable Sidebox - Support Thread

I fixed the box header name issue (apparently there are TWO places that it needed to be updated)

Still couldn't get the javascript to show up in the sidebox, though.

As a work-around I put the newsletter sign-up script into a sidebox2 bannerbox and that seems to work fine.

I would still be interested in learning what I did wrong with the editable-sidebox mod since it seems like a very valuable mod and I would like to be able to use it.

Have a great weekend!

www.ZenCrystals.com
www.CraftMagick.com
Magickal & Metaphysical supplies/services

4 Jul 2008, 1:12 AM
#79
ckosloff avatar

ckosloff

Totally Zenned

Join Date:
Feb 2007
Location:
South Florida, USA
Posts:
1,375
Plugin Contributions:
0

Re: Admin-Editable Sidebox - Support Thread

This is a style issue.
I installed the sidebox without a problem and just want to show an image in there.
The image shows a little bit skewed to the right.
I tried to center it like so, in my main stylesheet:
#editablesideboxContent .sideBoxContent {
text-align: center;
padding: 0px;
}
However, didn't quite achieve the effect; probably because there are two other instances of .sideBoxContent, one of them with padding: 0.4em.
How can I center the image in the sidebox?
Thanks.

[argentiniansupermarket.com

](http://argentiniansupermarket.com)

4 Jul 2008, 8:10 AM
#80
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Admin-Editable Sidebox - Support Thread

ckosloff:

This is a style issue.
I installed the sidebox without a problem and just want to show an image in there.
The image shows a little bit skewed to the right.
I tried to center it like so, in my main stylesheet:
#editablesideboxContent .sideBoxContent {
text-align: center;
padding: 0px;
}
However, didn't quite achieve the effect; probably because there are two other instances of .sideBoxContent, one of them with padding: 0.4em.
How can I center the image in the sidebox?
Thanks.Question would have been better off in the stylesheet section, as it's not specific to the admin-editable sidebox and there are more more people dealing with stylesheet issues over there, than answering questions about this sidebox.

But since I know a little bit about CSS :wink: What you are doing is correct. So why doesn't it work? Impossible to say without seeing the site (can't see it on the site in your link). The paddding: 0.4em shouldn't really have an adverse effect, since it pads both sides evenly. However, if that styling comes after the padding: 0px (no need for the px when padding or any other setting is 0) and when added to your image width would overflow the sidebox width that you have allowed, then in some browsers the image would be off center. Other styling, such as margins or relative positioning could also be a cause of this problem.

There's a lot of ifs and buts in there, which is why seeing the problem in context and knowing which browser to view with is essential for this type of issue.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)