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):


$uri =& JURI::getInstance();


$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>


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

en 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


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

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(0 Commentaires)


%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(0 Commentaires)