Revista - Social Buttons in the full article view?
Hi,
it's possible to place the social buttons like twitter and facebook in the full view of the article, not on the frontpage under the intro?
Many thanks in advance.
Hi,
it's possible to place the social buttons like twitter and facebook in the full view of the article, not on the frontpage under the intro?
Many thanks in advance.
Hi,
sorry, you currently can't display those icons in a different way.
Regards
Sven
Sven, i'm also request to show social buttons inside of article, not on the frontpage or category blog.
In current implementation social buttons on listing of category's blog leads that my users share links on whole category, but not on exact article.
Here the dirty solution:
in \templates\yoo_revista\layouts\template.config.php locate string
// add javascripts
$this['asset']->addFile('js', 'js:warp.js');
and change it to:
// add javascripts
if (strlen($_SERVER["REQUEST_URI"]) > 1) {
$this['asset']->addFile('js', 'js:warp.js');
}
when browser opens "http://your-web-site.com", $_SERVER["REQUEST_URI"] contains '/' string (FF, IE, Chrome)
So, if strlen($_SERVER["REQUEST_URI"]) > 1 it means that you open not home page, but something another.
Know someone who can answer? Share a link to this question via email or twitter.