There is already a paypal sidebox mod, look for it in the downloads section. Just incase you want to use that editable for something else....
There is already a paypal sidebox mod, look for it in the downloads section. Just incase you want to use that editable for something else....
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)
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)
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
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:
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?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>
My site is here
I am having the same issues on my site (www.AllClaveParts.com) with the editable sideboxes showing up on secure pages.
I use the editable side box in two places and it has been really great.
When the problem was brought to my attention by my host, I found this thread and followed your instructions copying and pasting.
Both boxes have disappeared. Am I missing something?
Thanks to everyone for all of the great contributions and support
Wally
After the IF test for secure ... is there an IF surrounding the rest of the code in the sidebox based on the results?![]()
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Replace the "verified paypal seller" title with something you want, then replace the image...don't forget to remove the paypal link.
Are you looking for a sidebox that shows you take paypal? If so, there is a credit card box mod that has a paypal image included I believe.
Check http://mistkits.com/ to see it.