Keyword

K2 social sharing buttons

  • Tancredi
  • Tancredi's Avatar Topic Author
  • Offline
  • Junior Member
More
8 years 7 months ago #151522 by Tancredi
K2 social sharing buttons was created by Tancredi
Hi there,

got a question concerning sharing the articles, how can I get sharing buttons (Facebook, twitter, google+) to show to the left side of each article in a stylish fashion as seen on forbes for instance? see screenshot imgur.com/ZnSKpUg

Is it posible to add linkedin and youtube eventually?

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 7 months ago #151524 by Krikor Boghossian
Replied by Krikor Boghossian on topic K2 social sharing buttons
Hello,

You need to override the item.php template of K2 and style it accordingly. Linkedin and Youtube can be added manually or you can use a service like addthis.

More on overrides can be found here: 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.

  • Tancredi
  • Tancredi's Avatar Topic Author
  • Offline
  • Junior Member
More
8 years 7 months ago - 8 years 7 months ago #151528 by Tancredi
Replied by Tancredi on topic K2 social sharing buttons

Krikor wrote: Hello,

You need to override the item.php template of K2 and style it accordingly. Linkedin and Youtube can be added manually or you can use a service like add this.

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


thank you I'm not a developer though, can't risk messing ups the whole site, could you please provide me with some more instruction on who to achieve that result?
Last edit: 8 years 7 months ago by Tancredi.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 7 months ago #151538 by Krikor Boghossian
Replied by Krikor Boghossian on topic K2 social sharing buttons
Each button's code can be obtain at their site
developer.linkedin.com/plugins/share
developers.google.com/youtube/youtube_subscribe_button

You can also use www.addthis.com/

Now as for overriding the item.php is well commented and you can locate the block.

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