- Posts: 3
- Thank you received: 0
Hikashop Social Networks plugin
11 years 1 week ago #214953
by malkreide
Hikashop Social Networks plugin was created by malkreide
-- url of the page with the problem -- : http://xn--chrmli-yxa.ch
-- HikaShop version -- : 2.5.0
-- Joomla version -- : 3.4.3
-- PHP version -- : 5.5.29
-- Browser(s) name and version -- : Firefox 40.0.3
Hi
I just set up the hikashop social networks plugin and I have two questions:
- Can I rearrange the order of the buttons? If yes, how?
- I turned off the "count" for the pinterest button. But it is still showing. How can I fix that. I do not want it to show the "count".
Thank you in advance.
-- HikaShop version -- : 2.5.0
-- Joomla version -- : 3.4.3
-- PHP version -- : 5.5.29
-- Browser(s) name and version -- : Firefox 40.0.3
Hi
I just set up the hikashop social networks plugin and I have two questions:
- Can I rearrange the order of the buttons? If yes, how?
- I turned off the "count" for the pinterest button. But it is still showing. How can I fix that. I do not want it to show the "count".
Thank you in advance.
Please Log in or Create an account to join the conversation.
11 years 1 week ago #214966
by Xavier
Replied by Xavier on topic Hikashop Social Networks plugin
Hi,
You can edit the plugin hikashopsocial in "plugins/system/hikashopsocial/hikashopsocial.php".
And edit the code:
In this code, just change the order of the elements.
Regarding the count issue, in that same plugin, in the function "_addPinterestButton()" could you try to add the code:
before:
You can edit the plugin hikashopsocial in "plugins/system/hikashopsocial/hikashopsocial.php".
And edit the code:
Code:
$html = array(
$this->_addTwitterButton($plugin),
$this->_addPinterestButton($plugin),
$this->_addGoogleButton($plugin),
$this->_addAddThisButton($plugin),
$this->_addFacebookButton($plugin)
);
In this code, just change the order of the elements.
Regarding the count issue, in that same plugin, in the function "_addPinterestButton()" could you try to add the code:
Code:
$count = 'none';
Code:
return '<span class="hikashop_social_pinterest'.$c.'"><a href="//pinterest.com/pin/create/button/?url='.urlencode($url).'&media='.urlencode($imageUrl).'&description='.htmlspecialchars(strip_tags($element->description), ENT_COMPAT,'UTF-8').'" class="pin-it-button" count-layout="'.$count.'"><img border="0" src="//assets.pinterest.com/images/PinExt.png" title="Pin It" /></a></span>';
The following user(s) said Thank You: malkreide
Please Log in or Create an account to join the conversation.
7 years 10 months ago #300082
by DoraK
Replied by DoraK on topic Hikashop Social Networks plugin
Hikashop v 3.0.1
Joomla v 3.8.12
Hello,
I am having a problem with the pinterest icon. When it's clicked, I am getting a 502 error. How can I fix it?
Thank you,
Dora
Joomla v 3.8.12
Hello,
I am having a problem with the pinterest icon. When it's clicked, I am getting a 502 error. How can I fix it?
Thank you,
Dora
Please Log in or Create an account to join the conversation.
7 years 10 months ago #300083
by nicolas
Replied by nicolas on topic Hikashop Social Networks plugin
Hi,
Could you provide a link to a product page with the issue so that we could have a look at the problem ?
Could you provide a link to a product page with the issue so that we could have a look at the problem ?
Please Log in or Create an account to join the conversation.
Time to create page: 0.183 seconds