Share on facebook met socialbookmarker
Posted: Mon Jul 25, 2011 11:07 pm
Ik heb momenteel deze code op mijn detailpagina van mijn nieuwsberichten staan.
{capture assign=sourcetitle}{$entry->title|escape}{/capture}
{capture assign=sourceurl}{root_url}{/capture}
{socialbookmarker sourcetitle=$sourcetitle sourceurl=$sourceurl brands='facebook'}
{if $socialbookmarker|@count gt 0}
{foreach from=$socialbookmarker item=item}
<a href="{$item->destinationurl}" title="{$entry->title|escape}">Deel dit artikel op {$item->brand}</a>
{/foreach}
{else}
nothing to display
{/if}
maar mijn bericht van facebook zelf ziet er niet uit. Zou graag gewoon de titel hebben met de content onder.
Iemand een idee hoe ik dit voor elkaar krijg?
Alvast bedankt
{capture assign=sourcetitle}{$entry->title|escape}{/capture}
{capture assign=sourceurl}{root_url}{/capture}
{socialbookmarker sourcetitle=$sourcetitle sourceurl=$sourceurl brands='facebook'}
{if $socialbookmarker|@count gt 0}
{foreach from=$socialbookmarker item=item}
<a href="{$item->destinationurl}" title="{$entry->title|escape}">Deel dit artikel op {$item->brand}</a>
{/foreach}
{else}
nothing to display
{/if}
maar mijn bericht van facebook zelf ziet er niet uit. Zou graag gewoon de titel hebben met de content onder.
Iemand een idee hoe ik dit voor elkaar krijg?
Alvast bedankt