Page 8 of 34 FirstFirst ... 67891018 ... LastLast
Results 71 to 80 of 332
  1. #71
    Join Date
    Jan 2007
    Location
    SE US
    Posts
    13
    Plugin Contributions
    0

    Default 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)

  2. #72
    Join Date
    Aug 2004
    Posts
    503
    Plugin Contributions
    0

    Default 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

  3. #73
    Join Date
    Mar 2008
    Posts
    42
    Plugin Contributions
    0

    Default 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:
    HTML Code:
    <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?

    My site is here

  4. #74
    Join Date
    May 2008
    Posts
    13
    Plugin Contributions
    0

    Default 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?

    Code:
    <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>

  5. #75
    Join Date
    Mar 2008
    Posts
    42
    Plugin Contributions
    0

    Default 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?

  6. #76
    Join Date
    May 2008
    Posts
    13
    Plugin Contributions
    0

    Default Re: Admin-Editable Sidebox - Support Thread

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

  7. #77
    Join Date
    Nov 2007
    Posts
    162
    Plugin Contributions
    0

    Default 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) 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

  8. #78
    Join Date
    Nov 2007
    Posts
    162
    Plugin Contributions
    0

    Default 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

  9. #79
    Join Date
    Feb 2007
    Location
    South Florida, USA
    Posts
    1,374
    Plugin Contributions
    4

    Default 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.

  10. #80
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Admin-Editable Sidebox - Support Thread

    Quote Originally Posted by ckosloff View Post
    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 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)

 

 
Page 8 of 34 FirstFirst ... 67891018 ... LastLast

Similar Threads

  1. v154 Blank Sidebox support thread
    By swguy in forum Addon Sideboxes
    Replies: 23
    Last Post: 15 Jul 2021, 09:54 PM
  2. Facebook sidebox -Support Thread
    By neboztik in forum Addon Sideboxes
    Replies: 31
    Last Post: 22 Jan 2013, 03:34 AM
  3. LiveChat Sidebox - Support Thread
    By b.kubiak in forum Addon Sideboxes
    Replies: 13
    Last Post: 15 Mar 2012, 08:00 PM
  4. CampaignMonitor Sidebox Support Thread
    By lukemcr in forum Addon Sideboxes
    Replies: 11
    Last Post: 21 May 2010, 06:14 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR