VISIT AND LIKE OUR PAGE ON FACEBOOK
TAKE A LOOK AT OUR TWEETS ON TWITTER
SUBSCRIBE TO THE JOOMFREAK RSS FEED
VISIT OUR CHANNEL ON YOUTUBE

Account Details

Change your name, email, password or permanently delete your account. Change settings

We offer several ways you can get support from our experts: Support ForumKnowledgebaseNewsletter

Your Forum Posts

No posts to display.

Welcome, Guest
Username Password: Remember me

Where to add AddThis code
(1 viewing) (1) Guest
  • Page:
  • 1
  • 2

TOPIC: Where to add AddThis code

Where to add AddThis code 09 Oct 2015 13:17 #7559

Hello,

I would like to have Add This social buttons on my website. But where do I have to add the code? I tried the index.php in the root but when I do that I do see the add this buttons but the website doesn't work and look good anymore.

Re: Where to add AddThis code 12 Oct 2015 02:35 #7566

Can you please send me your website url?

joomfreak

  • Posts:2768
  • isupport
  • Moderator
  • OFFLINE
  • Karma: 0

Re: Where to add AddThis code 12 Oct 2015 09:43 #7570

Re: Where to add AddThis code 13 Oct 2015 02:34 #7573

Where do you want to show add this social buttons?

joomfreak

  • Posts:2768
  • isupport
  • Moderator
  • OFFLINE
  • Karma: 0

Re: Where to add AddThis code 14 Oct 2015 08:05 #7576

I want to show them in articles. When I add a code in a article the buttons show up.

Get The Code

Step 1: Add the following code to the <body> of your website.
<!-- Go to www.addthis.com/dashboard to customize your tools -->


Step 2: Paste this code into whichever page you would like this tool to show up.

<!-- Go to www.addthis.com/dashboard to customize your tools -->
<div class="addthis_sharing_toolbox"></div>

Re: Where to add AddThis code 15 Oct 2015 02:42 #7579

If you want to show them in articles of Joomla content, you should copy the file at :

PATH_TO_JOOMLA/components/com_content/views/article/tmpl/default.php
to
TEMPLATE_NAME/html/com_content/article/default.php

Then edit this file, paste this code into whichever page you would like this tool to show up.
If you want to show them in k2 content, edit :

jf_event-up/html/com_k2/default/item.php


joomfreak
Last Edit: 15 Oct 2015 02:42 by isupport.
The following user(s) said Thank You: IngedeVries

  • Posts:2768
  • isupport
  • Moderator
  • OFFLINE
  • Karma: 0
  • Page:
  • 1
  • 2
Time to create page: 1.15 seconds
Thursday 18 July 2019

joomfreak is not affiliated with or endorsed by the Joomla Project or Open Source Matters.
The Joomla logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.