- Posts: 24
COMMUNITY FORUM
Social sharing
- James Royal
- Topic Author
- Offline
- Junior Member
Less
More
12 years 3 months ago #67616
by James Royal
Social sharing was created by James Royal
What is it about you and these Social sharing buttons
When K2 was upgraded before you set to show by Default now with this upgrade it is imposable to hide them
In Edit category set to Social sharing - Twitter button - Facebook button - Google +1 button all set to Hide
in edit Items set to Social sharing - Twitter button - Facebook button - Google +1 button all set to Hide
but they are always shown
WHY
When K2 was upgraded before you set to show by Default now with this upgrade it is imposable to hide them
In Edit category set to Social sharing - Twitter button - Facebook button - Google +1 button all set to Hide
in edit Items set to Social sharing - Twitter button - Facebook button - Google +1 button all set to Hide
but they are always shown
WHY
Please Log in or Create an account to join the conversation.
- Lefteris
- Offline
- Moderator
Less
More
- Posts: 8743
12 years 3 months ago #67617
by Lefteris
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Lefteris on topic Re: Social sharing
Hi. Just tested with no issues. Since you upgraded you should also apply layout changes. We provide them at getk2.org/documentation/tutorials/item/77-k2-template-override-package-comparison.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Jacqueline Kirkpatrick-Keller
- Offline
- New Member
Less
More
- Posts: 4
12 years 1 month ago #67618
by Jacqueline Kirkpatrick-Keller
Replied by Jacqueline Kirkpatrick-Keller on topic Re: Social sharing
Hi, I'm having the exact same problem. I need to hide the Social Sharing icons (Google Buzz, Facebook, Digg, Delicious, etc.) because I don't need them at this time. In the various parameters, I cannot find where to hide them!
Will installing this template override help me? I am running K2 version 2.5.7. Should I install the latest template override (getk2.org/assets/files/K2_v2.5.1_override_package.zip)?
Please let me know.
Will installing this template override help me? I am running K2 version 2.5.7. Should I install the latest template override (getk2.org/assets/files/K2_v2.5.1_override_package.zip)?
Please let me know.
Please Log in or Create an account to join the conversation.
- kisuan
- Offline
- New Member
Less
More
- Posts: 2
12 years 1 month ago #67619
by kisuan
Replied by kisuan on topic Re: Social sharing
If you don´t mind using brute force and doing this every time you update K2 go to:
\components\com_k2\templates\listing\item.php
and delte from line 304 to 351
Enjoy
\components\com_k2\templates\listing\item.php
and delte from line 304 to 351
Enjoy
Please Log in or Create an account to join the conversation.
- Lefteris
- Offline
- Moderator
Less
More
- Posts: 8743
12 years 4 weeks ago #67620
by Lefteris
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Lefteris on topic Re: Social sharing
@Mini
You need to check that the layout files of your site do have the code that is generating those buttons exactly as it appears in /components/com_k2/templates/default/item.php. Then you can handle those buttons by the category options.
@kisuan
You do not need to do this every time you update K2. That's why template overrides are. Take a read at getk2.org/documentation/tutorials/item/174-templating-with-k2-and-the-concepts-of-sub-templates
You need to check that the layout files of your site do have the code that is generating those buttons exactly as it appears in /components/com_k2/templates/default/item.php. Then you can handle those buttons by the category options.
@kisuan
You do not need to do this every time you update K2. That's why template overrides are. Take a read at getk2.org/documentation/tutorials/item/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.