User Tools

Site Tools


custom_share_buttons

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

custom_share_buttons [2013/06/04 12:23]
admin [Additional Services]
custom_share_buttons [2013/06/05 01:12] (current)
admin [The PHP]
Line 70: Line 70:
  <li class="share-via-googleplus"><a href="https://plus.google.com/share?url=' . urlencode(CURRENTPAGEURL) . '" onclick="window.open(this.href); return false;"><i class="icon-google-plus"></i></a></li>  <li class="share-via-googleplus"><a href="https://plus.google.com/share?url=' . urlencode(CURRENTPAGEURL) . '" onclick="window.open(this.href); return false;"><i class="icon-google-plus"></i></a></li>
  <li class="share-via-pinterest"><a href="http://pinterest.com/pin/create/bookmarklet/?media=' . urlencode(CURRENTPAGEURL) . '/photos/' . urlencode(PAGEIMAGE) . '&url=' . urlencode(CURRENTPAGEURL) . '&is_video=false&description=' . urlencode(ALBUMTITLE) . '" onclick="window.open(this.href); return false;"><i class="icon-pinterest"></i><span> Pin It<span></a></li>  <li class="share-via-pinterest"><a href="http://pinterest.com/pin/create/bookmarklet/?media=' . urlencode(CURRENTPAGEURL) . '/photos/' . urlencode(PAGEIMAGE) . '&url=' . urlencode(CURRENTPAGEURL) . '&is_video=false&description=' . urlencode(ALBUMTITLE) . '" onclick="window.open(this.href); return false;"><i class="icon-pinterest"></i><span> Pin It<span></a></li>
- <li class="share-via-email"><a href="mailto:?subject=' . urlencode(ALBUMTITLE) . '&body=' . urlencode(CURRENTPAGEURL) . '" onclick="window.open(this.href); return false;"><i class="icon-envelope-alt"></i><span> Email</span></a></li>+ <li class="share-via-email"><a href="mailto:?subject=' . urlencode(ALBUMTITLE) . '&body=' . urlencode('Hi,') . '%0D%0A' . urlencode('I thought this worth sharing. Enjoy!') . '%0D%0A%0D%0A' . urlencode(CURRENTPAGEURL) . '" onclick="window.open(this.href); return false;"><i class="icon-envelope-alt"></i><span> Email</span></a></li>
  </ul>  </ul>
  </div>  </div>
custom_share_buttons.txt ยท Last modified: 2013/06/05 01:12 by admin