Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • faizsuberi Friend
    #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 Friend
    #373846

    Hello mate,

    Please send me your administartor account via our support system.
    I will check and fix it for you.

    kofi Friend
    #375700

    how did you solve that? I am currently facing the same issue.

    Thanh Nguyen Viet Friend
    #375717

    Hello kofi,

    Please open the file
    plugins/content/plg_jafacebookshare.php

    Find 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,
    ThanhNV

    kofi Friend
    #376076

    awesome! 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 Friend
    #376087

    Fb 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,
    ThanhNV

    kofi Friend
    #376193

    Thanks 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 Friend
    #376273

    Hello kofi,

    Fb has cached data for shared urls.
    Please test with new articles.

    harisk73 Friend
    #386850

    I 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 Friend
    #386860

    Hello 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.

Viewing 10 posts - 1 through 10 (of 10 total)

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