Keyword

LinkedIn bookmark code

  • Robert Carrier
  • Robert Carrier's Avatar Topic Author
  • Offline
  • New Member
More
14 years 3 months ago #83784 by Robert Carrier
LinkedIn bookmark code was created by Robert Carrier
Could someone advise me on the addition of code to K2 to support bookmarking on LinkedIn?Thanks you!

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

More
13 years 6 months ago #83785 by Luis Horta
Replied by Luis Horta on topic LinkedIn bookmark code
Almost a year.. and no answer yet :(

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

  • Alfonso F. Moreno
  • Alfonso F. Moreno's Avatar
  • Offline
  • Elite Member
More
13 years 6 months ago #83786 by Alfonso F. Moreno
Replied by Alfonso F. Moreno on topic LinkedIn bookmark code
I dont know if this is what you want to do but let's see. I needed to add to social shares of those at end of article (two spanish social pages). So in /components/com_k2/templates/default/item.php there's a line "itemSocialLinksBlock" that is a list <li> All you have to do is add the new line like i did:

 

 &lt;li&gt;&lt;a class="tuenti" title="&lt;?php echo JText::_("Añadir a Tuenti"); ?&gt;" href="www.tuenti.com/share?url=<?php echo $this->item->socialLink; ?>&amp;t=<?php echo urlencode($this->item->title); ?>" target="_blank"><span><?php echo JText::_("Añadir a tuenti"); ?></span></a></li>

 

You must konw how is the link to add shares in linkedin in tuenti it is  "www.tuenti.com/share?url=........"

 

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


Powered by Kunena Forum