- Posts: 116
- Thank you received: 1
social icons position, how?
13 years 5 months ago - 13 years 5 months ago #103057
by dado023
social icons position, how? was created by dado023
how can i reorganize position of social icons.
i want in first row to be Tweet, Pinterest and +1G
and i second row only Facebook icons
image missing http://i.imgur.com/dyVbrJD.png
in this picture this is how it is now by default in my hikashop, but i would like it to be like mentioned above.
Kind regards
Dan
i want in first row to be Tweet, Pinterest and +1G
and i second row only Facebook icons
image missing http://i.imgur.com/dyVbrJD.png
in this picture this is how it is now by default in my hikashop, but i would like it to be like mentioned above.
Kind regards
Dan
Last edit: 13 years 5 months ago by dado023.
Please Log in or Create an account to join the conversation.
13 years 5 months ago #103093
by nicolas
Replied by nicolas on topic social icons position, how?
There is no option to change that order.
You would have to edit the code of the HikaShop social networks plugin in the file plugins/content/hikashopsocial/hikashopsocial.php
You would have to edit the code of the HikaShop social networks plugin in the file plugins/content/hikashopsocial/hikashopsocial.php
Please Log in or Create an account to join the conversation.
13 years 5 months ago #104000
by dado023
Replied by dado023 on topic social icons position, how?
can you give me a hint, because coding is a bit strange to me, what exactly should i change?
Please Log in or Create an account to join the conversation.
13 years 5 months ago #104076
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic social icons position, how?
Hi,
In the plugin you will find four lines:
By changing the order of these lines, you will change the order of the icons.
Notice that if you modify the plugin directly, you will lose your changes by updating HikaShop (because it will reinstall the plugin)
Regards,
In the plugin you will find four lines:
Code:
if($plugin->params['display_twitter']) $html.=$this->_addTwitterButton( $plugin);
if(@$plugin->params['display_pinterest']) $html.=$this->_addPinterestButton( $plugin);
if($plugin->params['display_fb']) $html.=$this->_addFacebookButton( $plugin);
if(@$plugin->params['display_google']) $html.=$this->_addGoogleButton( $plugin);
Notice that if you modify the plugin directly, you will lose your changes by updating HikaShop (because it will reinstall the plugin)
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
Time to create page: 0.098 seconds