Skip to content

Commit a959436

Browse files
authored
fixed twitter share link, issue 1595 (OpenMage#1598)
* fixed twitter share link, PR 1595 * URL as a separate parameter Co-authored-by: Fabrizio Balliano <fabrizio@fabrizioballiano.com>
1 parent 8b0c0b9 commit a959436

File tree

1 file changed

+1
-1
lines changed
  • app/design/frontend/rwd/default/template/catalog/product/view

1 file changed

+1
-1
lines changed

app/design/frontend/rwd/default/template/catalog/product/view/sharing.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
</a>
4545
</li>
4646
<li>
47-
<a href="<?php echo 'http://twitter.com/home?status=' . $_productName . '+' . $_productUrl; ?>" target="_blank" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Share on Twitter')) ?>" class="link-twitter"><?php echo $this->__('Share on Twitter') ?></a>
47+
<a href="<?php echo 'http://twitter.com/intent/tweet?text=' . $_productName . '&url=' . $_productUrl; ?>" target="_blank" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Share on Twitter')) ?>" class="link-twitter"><?php echo $this->__('Share on Twitter') ?></a>
4848
</li>
4949
</ul>
5050

0 commit comments

Comments
 (0)