Keyword

[SOLVED] Social Sharing Buttons

  • Jessica Bridgers
  • Jessica Bridgers's Avatar Topic Author
  • Offline
  • New Member
More
9 years 11 months ago - 9 years 11 months ago #132926 by Jessica Bridgers
[SOLVED] Social Sharing Buttons was created by Jessica Bridgers
Quick question about the social sharing buttons on K2 items. Currently I have the G+, Twitter, and Facebook "Like" button.

However, what would be really great for our particular needs is not a Facebook "like" button, but a true Facebook "Share" button, as well as a button for sharing on LinkedIn.

I've seen a couple plugins in the Joomla! Extension directory that give more flexibility to the social buttons used for Joomla! articles, but not K2 items. I assume it is possible for K2 items as well, but am curious what the best way to go about this is.

Thanks for any advice.
Jessica

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 11 months ago #132927 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Social Sharing Buttons
You can manually add more buttons in your overrides.

The file you need to edit is item.php

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.

  • Jessica Bridgers
  • Jessica Bridgers's Avatar Topic Author
  • Offline
  • New Member
More
9 years 11 months ago #132928 by Jessica Bridgers
Replied by Jessica Bridgers on topic Re: Social Sharing Buttons
Thanks, I was able to add the buttons that I wanted, but now would like to hide the buttons that came with K2. I've changed the settings within the category and individual items within that category to hide the K2 buttons, but they remain intact. I did try clearing my cache just to be sure that wasn't the problem, but it doesn't appear to be.

For example: worldanimal.net/about/wan-blog/item/205-three-international-animal-law-websites-to-know-about

Any idea what I might be doing wrong?

Thanks for your help.
Jessica

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

More
9 years 11 months ago #132929 by Lefteris
Replied by Lefteris on topic Re: Social Sharing Buttons
@Jessica Bridgers

Hi. Check again your category settings. Ensure that you are editing the correct category and that it is not inheriting parameters from an other category. Finally ensure that your item.php includes all the required conditions checks for displaying/hiding those buttons.

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

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

  • Jessica Bridgers
  • Jessica Bridgers's Avatar Topic Author
  • Offline
  • New Member
More
9 years 11 months ago - 9 years 11 months ago #132930 by Jessica Bridgers
Replied by Jessica Bridgers on topic Re: Social Sharing Buttons
Thanks Lefteris! I've resolved the problem.

All the best,
Jessica

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


Powered by Kunena Forum