Keyword

Facebook share button. Is it exist by default?

  • servlet
  • servlet's Avatar Topic Author
  • Offline
  • New Member
More
6 years 7 months ago #164082 by servlet
Hello
I read all posts in the forum but I cannot find the answer.
Is there by default facebook share button in K2 or not. Ir it exist how to enable it?
I see in the articles only LIKE button.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 7 months ago #164094 by Krikor Boghossian
Replied by Krikor Boghossian on topic Facebook share button. Is it exist by default?
Hello,

In the item.php file of your template (overrides) set the the data-false attribute from false to true

Example:
github.com/getk2/k2/blob/master/components/com_k2/templates/default/item.php#L322

More on overrides:
getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates

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

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

More
6 years 3 months ago #166158 by Eva San
Hi!
I've got the same problem I think.
I ave my category config set to show e.mail, faebook, adn Twitte sharing but just the email link appears

any help will be very welcome

volcaadmaresme.org/index.php/campanyaarnes

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 3 months ago #166178 by Krikor Boghossian
Replied by Krikor Boghossian on topic Facebook share button. Is it exist by default?
Hello,

I can see the FB and Twitter buttons
jmp.sh/vzlmv9f

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

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

More
6 years 3 months ago #166183 by Eva San
Hi, thanks for your replay.
Nevertheles the buttons you can see are the Like button not the sharing one.
I mean the button or lets say link, that should appear at the highest part of the item, like the email ( correu electronic) one.
What I want to be able to do is to share in Facebook the item instead of Like it.
Pleaselet me know how to do it, thanks

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 3 months ago #166222 by Krikor Boghossian
Replied by Krikor Boghossian on topic Facebook share button. Is it exist by default?
Hello,

You can move the buttons on your template and in the code replace (or add) data-share="true" to the button's code.

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

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

More
6 years 1 month ago - 6 years 1 month ago #166828 by SweetElite
Replied by SweetElite on topic Facebook share button. Is it exist by default?
Hello Im having the same problem. I do not have a share button only like..

fishinaddicts.com/blogs

Its not Just A Sport Its A Lifestyle
Last edit: 6 years 1 month ago by SweetElite.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 1 month ago #166850 by Krikor Boghossian
Replied by Krikor Boghossian on topic Facebook share button. Is it exist by default?
Hello,

Locate the item.php file override ( getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates ) and follow the instructions in my previous post.

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