Zen Cart Logo
Forums / All Other Contributions/Addons / Social Media and SideBox help needed

Social Media and SideBox help needed

Views: 2,949

Results 1 to 7 of 7
23 Jan 2020, 10:35 PM
#1
chrispardy avatar

chrispardy

New Zenner

Join Date:
Jan 2020
Location:
Boston MA
Posts:
14
Plugin Contributions:
0

Social Media and SideBox help needed

I have spent the past two days researching and trying to figure out how to do two things.
I'm not completely new to Zen-Cart I've had stored for at least 5 years now. But I just upgraded to the newest version and starting my store from scratch.

I'm sorry if this is in the wrong section but wasn't sure which section to post it in.

    1. First issue is no matter how hard, how much I follow the directions in this forum and other online sources I can not for the life of me get a Social Media share or like button to work.
    • First - I'm having is that I can't figure out where to put the JavaScript code. When I put it where instructed It makes my site come up blank, or throws and error, even if I copy and paste it entirely.
    • Second issue is when I get it to come up everything on my site is moved around
    1. Second - I'm having a hard time trying to add SideBoxes outside of EzPages. I don't want a clickable link that goes to another page to read like the Privacy page I want side boxes I can add Text information and mixed content in that stay in the side boxes.
  1. The best I could do for now was just add EzPage on the right that has links to my social media, but I'm not happy with this.

My brain is mush at this point, so please help with as simplest instructions as you can.

Thanks

http://www.cpardydesign.com

24 Jan 2020, 12:26 AM
#2
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,733
Plugin Contributions:
14

Re: Social Media and SideBox help needed

You could turn on a define page if you have a spare or** clone** one and it will have a** link in the sidebox**.

Social share buttons usually go in:
templates/YOUR_TEMPLATE/templates
templates/YOUR_TEMPLATE/common
templates/YOUR_TEMPLATE/jscript

That covers the header, footer and center page content in the template you are using.

Any time you add a block of content to the layout/display of the header, center or footer there's a good chance it will **move due to the CSS layout **Zen uses. You'll need to use the developer tools in your browser to see where the css needs to be changed for desktop in templates/YOUR_TEMPLATE/css/stylesheet.css then in the responsive css files as well.

We could send instructions/tutorials to walk you through it if you would like to learn how to code it yourself?

27 Jan 2020, 5:09 PM
#3
chrispardy avatar

chrispardy

New Zenner

Join Date:
Jan 2020
Location:
Boston MA
Posts:
14
Plugin Contributions:
0

Re: Social Media and SideBox help needed

Thanks!

Sorry for the delay in response, I had to Take a good break from this and clear my mind for the weekend. It's bad when you start dreaming of how you can fix thing and actually see the code in your dreams. Lol

I would LOVE if you could send me instructions/tutorials so I could learn.

Also can you send me detailed information on how to turn on a Define Page

One of the biggest issues I am finding is ANY Mod I try to install doesn't seem to work. I follow the directions to a T and poof nothing. It's pretty discouraging and I can't figure out where I went wrong. The last time I went at this a few years ago everything went good :)

So I'm trying to test out the shop now to see how everything looks after all my customizing and I'm finding this happening.
Attachment 18820

Again I'm going through every way I know how to trouble shoot it, but can not figure out how to get all this back in order. I have even went back to an Untouched Theme template and it's still doing it. Can someone point me in the right direction on where to find these boxes in css or the template. If it wasn't at the final stages of ordering I would have just let it be, but since this important info for the customer to see I've gotta get it right before I can go live with the shop.

30 Jan 2020, 4:29 PM
#4
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,845
Plugin Contributions:
0

Re: Social Media and SideBox help needed

includes/templates/template_default/templates/tpl_checkout_payment_default.php

<div class="floatingBox important forward"><?php echo TEXT_SELECTED_BILLING_DESTINATION; ?></div>
<br class="clearBoth" />
<br />  <<<add this br tag
<?php // ** BEGIN PAYPAL EXPRESS CHECKOUT **
30 Jan 2020, 4:42 PM
#5
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,845
Plugin Contributions:
0

Re: Social Media and SideBox help needed

Stick the code provided by sharethis in includes/templates/YOUR_TEMPLATE/common/tpl_main_page.php right before the closing body tag at the bottom of the file.

6 Feb 2020, 2:23 AM
#6
chrispardy avatar

chrispardy

New Zenner

Join Date:
Jan 2020
Location:
Boston MA
Posts:
14
Plugin Contributions:
0

Re: Social Media and SideBox help needed

barco57:

includes/templates/template_default/templates/tpl_checkout_payment_default.php

<div class="floatingBox important forward"><?php echo TEXT_SELECTED_BILLING_DESTINATION; ?></div> <br class="clearBoth" /> <br /> <<<add this br tag <?php // ** BEGIN PAYPAL EXPRESS CHECKOUT ** ```

Adding the <br /> didn't seem to do anything. Its showing this way on mobile devices also.

I'm still pretty stuck on getting ANY mod or plug-ins to work also.

6 Feb 2020, 10:35 PM
#7
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,097
Plugin Contributions:
56

Re: Social Media and SideBox help needed

Try changing that code fragment provided by @barco57 to:

<div class="floatingBox important forward"><?php echo TEXT_SELECTED_BILLING_DESTINATION; ?></div>
<[B]div[/B] class="clearBoth"></div>
<br />  <<<add this br tag
<?php // ** BEGIN PAYPAL EXPRESS CHECKOUT **

Chrome doesn't like a CSS clear: both; on <br> tags.