Addthis related content

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Sat Oct 31, 2015 7:52 pm
Reply with quote
Report this post
Hi, I have one question I'm trying to solve.

I want place addthis related content in my joomla articles (no k2). So I get the addthis code and I guess I have to place it in /templates/gk_news2/html/com_content/article/default.php
I am do it correct?? because I don't see any change in my articles...

I show you the code in an image
addthis-code-related-content.png
User avatar
Senior Boarder

GK User
Sat Oct 31, 2015 9:52 pm
Reply with quote
Report this post
Hi,
Just use Addthis plugin, I saw it also on project website. Easy task & no risk !

OR
But if you like custom code you have to use Phoca Site - which allows you to put code in header section without core code edition. But then edit gk_news2\html\com_content\article\default.php
to put rest of code inside article page view
User avatar
Platinum Boarder

GK User
Sun Nov 01, 2015 3:36 am
Reply with quote
Report this post
But addthis plugin is only for social buttons share, no for related content tools. No?

And the problem is with the second point. I place that code into the default.php file and it doesn't work. I don't know if I hace to paste all the code at the end of the file or maybe in twot different places because are two codes...
User avatar
Senior Boarder

GK User
Sun Nov 01, 2015 7:50 am
Reply with quote
Report this post
As I told you before, you have to put code in two different places (in header section and under content area).
For first part you can use Phoca Site plugin or edit gk_news2\layouts\default.php
Second was described before.
User avatar
Platinum Boarder


cron