Keyword

k2 and twitter

  • jeel2008
  • jeel2008's Avatar Topic Author
  • Offline
  • New Member
More
13 years 7 months ago #95352 by jeel2008
k2 and twitter was created by jeel2008
hello, i want to add a twitter button to my social sharing buttons, and i did like this:

 

&lt;li&gt;&lt;a class="facebook" title="&lt;?php echo JText::_("Add to Facebook"); ?&gt;" href="www.facebook.com/sharer.php?u=<?php echo $this->item->socialLink; ?>&amp;t=<?php echo urlencode($this->item->title); ?>" target="_blank"><span><?php echo JText::_("Add to Facebook"); ?></span></a></li>

                 &lt;li&gt;&lt;a class="twitter" title="&lt;?php echo JText::_("Add to Twitter"); ?&gt;" href="twitter.com/=<?php echo $this->item->socialLink; ?>" target="_blank"><span><?php echo JText::_("Add to Twitter"); ?></span></a></li>

 

but im not a programmer. so, with facebook there is, behind the slash sharer.php?u

but what should i write behind the twitter.com/ ?

 

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


Powered by Kunena Forum