Fermé

Fix Addthis Internet Explorer - Joomla K2

On our website we have Addthis integrated on the category page of K2. For every listing item the addthis buttons are showed. However in Internet Explorer the counters show wrong numbers (they show the numbers of the homepage, while they should show the numbers of the article pages). This is the code we use (which works in Chrome, Firefox and worked before in Internet Explorer):

<?php

$uri =& JURI::getInstance();

$uri->setPath($this->item->link);

$title = $this->item->title;

$url = $uri->getScheme() . '://' . $uri->getHost() . $uri->getPath();

$jroot = JURI::root();

$url_share = substr($jroot, 0, -1)."".$this->item->link;

?>

<!-- AddThis Button BEGIN -->

<div class="addthis_toolbox addthis_default_style " style="float:right;margin-top: 68px;margin-bottom:-5px;">

<a class="addthis_button_facebook_like" fb:like:layout="button_count" addthis:title="<?php echo $title; ?>" addthis:url="<?php echo $url_share; ?>"></a>

<a class="addthis_button_tweet" addthis:title="<?php echo $title; ?>" addthis:url="<?php echo $url_share; ?>" tw:via="Horecatrends"></a>

</div>

Compétences : HTML, Javascript, PHP, Architecture Logicielle

Voir plus : joomla addthis wrong link, addthis internet explorer, echo fix url php, style fix website, internet code, fix website for internet explorer, firefox float, div fix website, code internet, internet explorer addthis, addthis buttons internet explorer, joomla addthis internet explorer, joomla explorer, like tw, k2, juri, joomla K2, float, explorer, counters, php javascript class, url fix, internet fix, joomla article url, fix root

Concernant l'employeur :
( 30 commentaires ) Zoetermeer, Netherlands

N° du projet : #1676266

2 freelance font une offre moyenne de $215 pour ce travail

E4OlFI27g

The Administrator removed this message for containing contact details which breaches our Terms and Conditions.

250 $ USD en 1 jour
(0 Commentaires)
0.0
Nathanrick

PLEASE SEE PM

180 $ USD en 3 jours
(0 Commentaires)
0.0