Đã Đóng

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>

Kỹ năng: HTML, Javascript, PHP, Kiến trúc phần mềm

Xem thêm: joomla addthis wrong link, addthis internet explorer, echo fix url php, style fix website, internet code, firefox float, div fix website, code internet, internet explorer addthis, joomla addthis internet explorer, joomla explorer, like tw, k2, juri, joomla k2, float, explorer, counters, url fix, internet fix, joomla article url, fix root, div style top, joomla link article, fix listing

Về Bên Thuê:
( 30 nhận xét ) Zoetermeer, Netherlands

Mã Dự Án: #1676266

2 freelancer đang chào giá trung bình $215 cho công việc này

E4OlFI27g

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

$250 USD trong 1 ngày
(0 Đánh Giá)
0.0
Nathanrick

PLEASE SEE PM

$180 USD trong 3 ngày
(0 Đánh Giá)
0.0