Keyword

Problem with Socials Button

  • Dimitris Kanellopoulos
  • Dimitris Kanellopoulos's Avatar Topic Author
  • Offline
  • New Member
More
11 years 10 months ago #106629 by Dimitris Kanellopoulos
Problem with Socials Button was created by Dimitris Kanellopoulos
Hi Kannan,

Reffering to previous post "Problem when sharing at Facebook with GR chars"

getk2.org/community/New-to-K2-Ask-here-first/162002-Problem-when-sharing-at-Facebook-with-GR-chars#162047

We managed to solve the problem with "share" button and we thank you for this.
but we still face the same problem with "Facebook Like" button.

The text which is publised on Facebook is the actual html code.

Also we face the same problem in another joomla 2.5.6 with k2 v2.6.1 installation.

We did check the view.html.php file (of the above latest k2 version) and we noticed that the code is different now.

Also in both k2 version the image of the item does NOT appears using either "share" and "Facebook Like" button.

Thank You in advance for your assistance

1remos

Please Log in or Create an account to join the conversation.

  • Dimitris Kanellopoulos
  • Dimitris Kanellopoulos's Avatar Topic Author
  • Offline
  • New Member
More
11 years 10 months ago #106630 by Dimitris Kanellopoulos
Replied by Dimitris Kanellopoulos on topic Re: Problem with Socials Button
Any help on my question?

Please Log in or Create an account to join the conversation.

More
11 years 10 months ago #106631 by Lefteris
Replied by Lefteris on topic Re: Problem with Socials Button
Hi. K2 only provides a Facebook like button. This button works as it should for Greek characters in K2 2.6.2. So if you are facing issues with the like button update K2. The share button does not come from K2.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Nikos Papantonopoulos
  • Nikos Papantonopoulos's Avatar
  • Offline
  • New Member
More
11 years 4 months ago #106632 by Nikos Papantonopoulos
Replied by Nikos Papantonopoulos on topic Re: Problem with Socials Button
well the button does not work as it should
I am using k2 2.6.5 and i have issues with greek chars on the description of the item

i did the fix to comment out the following line
//$metaDescItem = htmlspecialchars($metaDescItem, ENT_QUOTES, 'UTF-8');

from components/com_k2/views/item/view.item

worked on one site but did not work on another

www.laponta.gr/μουσικά-νέα.html (is the problematic site)

any more fixes that could be applied?

thanks
Nikos
Greece

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
11 years 4 months ago #106633 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Problem with Socials Button
Hello Nikos,

I don't think there is a problem with your button.
I looked at your source code and all the text was converted to >Στην ελληνική μπύρα Volkan που, plus there appear to be inline styles in your fulltext which render like plain text and give you the impression that code is being rendered.

I think you should check your language settings or contact your hosting provider.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Nikos Papantonopoulos
  • Nikos Papantonopoulos's Avatar
  • Offline
  • New Member
More
11 years 4 months ago #106634 by Nikos Papantonopoulos
Replied by Nikos Papantonopoulos on topic Re: Problem with Socials Button
Thank you for your reply

I can not find what is the problem

Posting to facebook articles that are created using the Joomla native article system is perfectly ok

Only on pages of K2 items i face the issue.

changed also the source file's encoding to utf-8 but have the same issue

any more ideas will be welcome

Nikos

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
11 years 4 months ago #106635 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Problem with Socials Button
Niko,

I also check the source of some of your com_content sections and your com_contact pages.
This issue is also present there. Make sure an extension is not causing this.

K2 is specifying the content that will be posted on facebook from your introtext using the og: tags. This is why you are under the impression that this issue is present only in K2.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum