-
AuthorPosts
-
January 24, 2011 at 3:44 pm #159224
Hello,
For JA Events, I need the Facebook Share button to share that one article only, even from the front page. The problem is when I click share for the article on the front page, the plugin ends up sharing the entire website.
It does work when you view the article by itself and share, it will share that one article. But if you click share from the front page, it ends up sharing the website…
PLEASE HELP!
Thanh Nguyen Viet FriendThanh Nguyen Viet
- Join date:
- September 2014
- Posts:
- 1461
- Downloads:
- 0
- Uploads:
- 44
- Thanked:
- 258 times in 217 posts
January 26, 2011 at 7:14 am #373846Hello mate,
Please send me your administartor account via our support system.
I will check and fix it for you.February 8, 2011 at 11:08 pm #375700how did you solve that? I am currently facing the same issue.
Thanh Nguyen Viet FriendThanh Nguyen Viet
- Join date:
- September 2014
- Posts:
- 1461
- Downloads:
- 0
- Uploads:
- 44
- Thanked:
- 258 times in 217 posts
February 9, 2011 at 2:18 am #375717Hello kofi,
Please open the file
plugins/content/plg_jafacebookshare.phpFind the code snippet:
if(!isset($article->readmore_link)){
$article->readmore_link = JRoute::_(ContentHelperRoute::getArticleRoute($article->slug, $article->catslug, $article->sectionid));
}
And Replace with:
if(!isset($article->readmore_link) || empty($article->readmore_link)){
$article->readmore_link = JRoute::_(ContentHelperRoute::getArticleRoute($article->slug, $article->catslug, $article->sectionid));
}Best regards,
ThanhNV1 user says Thank You to Thanh Nguyen Viet for this useful post
February 10, 2011 at 7:40 pm #376076awesome! thank you, looks good now.
any chance to replace the default meta information derived from joomla main settings with the first lines of the respective article? I have seen other fb share extensions, where you could choose whether you want to include joomla meta info or article info.Thanh Nguyen Viet FriendThanh Nguyen Viet
- Join date:
- September 2014
- Posts:
- 1461
- Downloads:
- 0
- Uploads:
- 44
- Thanked:
- 258 times in 217 posts
February 11, 2011 at 1:57 am #376087Fb share plugin automatically get meta data from url that you share, so that you only need update meta data for each your article and they will be used instead of default meta data of home page.
Best regards,
ThanhNVFebruary 11, 2011 at 12:36 pm #376193Thanks ThanhNV for your reply.
Well I’ve already edited meta data of that respective article (meta description, meta key words and robots). However, if I click on the fb share button, it still shows the general meta data of the website.Thanh Nguyen Viet FriendThanh Nguyen Viet
- Join date:
- September 2014
- Posts:
- 1461
- Downloads:
- 0
- Uploads:
- 44
- Thanked:
- 258 times in 217 posts
February 12, 2011 at 12:59 am #376273Hello kofi,
Fb has cached data for shared urls.
Please test with new articles.April 18, 2011 at 9:08 am #386850I have the same exact problem… tried the solutions mentioned above with no results. If it was solved can you post the solution please
Thanh Nguyen Viet FriendThanh Nguyen Viet
- Join date:
- September 2014
- Posts:
- 1461
- Downloads:
- 0
- Uploads:
- 44
- Thanked:
- 258 times in 217 posts
April 18, 2011 at 9:28 am #386860Hello mate,
Facebook share button is no longer supported, FB mreged it with FB Like button.
We are developing new version for JA Facebook Like plugin to update this change.I’ll notice to this thread when new feature is relead.
-
AuthorPosts
This topic contains 10 replies, has 4 voices, and was last updated by Thanh Nguyen Viet 13 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum