Changeset 31054 for extensions/ShareThis
- Timestamp:
- Mar 23, 2015, 2:50:28 AM (9 years ago)
- Location:
- extensions/ShareThis
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/ShareThis/changelog.txt
r31053 r31054 16 16 === Changelog === 17 17 version 1.0.1 18 + Added Facebook <meta property="og:.. support 18 19 - Fixed support and download references in admin area 19 20 - Fixed image reference for images. Facebook sharer may not load picture in preview, but should succeed at repeated attempt or when image is actually loaded -
extensions/ShareThis/main.inc.php
r31053 r31054 97 97 . '{if $sharethis_facebook}' 98 98 . '{html_head}<meta property="og:title" content="">{"\n"}' 99 . '<meta property="og:type" content=" image">{"\n"}'100 . '<meta property="og:url" content=" ' . $url .'">{"\n"}'101 . '<meta property="og:image" content=" ' . $image . '">{"\n"}'99 . '<meta property="og:type" content="article">{"\n"}' 100 . '<meta property="og:url" content="{$CUR_PAGE}">{"\n"}' 101 . '<meta property="og:image" content="{$U_HOME}/{$current.selected_derivative->get_url()}">{"\n"}' 102 102 . '{/html_head}' 103 103 . '<a href="http://www.facebook.com/sharer/sharer.php?p[title]=' . $title . '&p[url]=' . $url . '&p[images][0]=' . $image . '&p[summary]=' . $content . '" onclick="window.open(this.href, \'\', \'toolbar=0,status=0,width=700,height=500\'); return false;" title="{\'Share on Facebook\'|@translate}" target="_blank"><i class="fa fa-facebook-square"></i> <span>{\'Facebook\'|@translate}</span></a>{/if}'
Note: See TracChangeset
for help on using the changeset viewer.