- Posts: 12
COMMUNITY FORUM
Facebook share button. Is it exist by default?
- servlet
- Topic Author
- Offline
- New Member
Less
More
7 years 2 months ago #164082
by servlet
Facebook share button. Is it exist by default? was created 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.
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
- Offline
- Platinum Member
Less
More
- Posts: 15920
7 years 2 months ago #164094
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
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
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.
- Eva San
- Offline
- New Member
Less
More
- Posts: 4
6 years 10 months ago #166158
by Eva San
Replied by Eva San on topic Facebook share button. Is it exist by default?
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
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
- Offline
- Platinum Member
Less
More
- Posts: 15920
6 years 10 months ago #166178
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Facebook share button. Is it exist by default?
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Eva San
- Offline
- New Member
Less
More
- Posts: 4
6 years 10 months ago #166183
by Eva San
Replied by Eva San on topic Facebook share button. Is it exist by default?
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
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
- Offline
- Platinum Member
Less
More
- Posts: 15920
6 years 10 months ago #166222
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
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.
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.
- SweetElite
- Offline
- New Member
6 years 9 months ago - 6 years 9 months ago #166828
by SweetElite
Its not Just A Sport Its A Lifestyle
Replied by SweetElite on topic Facebook share button. Is it exist by default?
Its not Just A Sport Its A Lifestyle
Last edit: 6 years 9 months ago by SweetElite.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
6 years 9 months ago #166850
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
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.
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.