- Posts: 116
- Thank you received: 1
social icons position, how?
13 years 4 months ago - 13 years 4 months ago #103057
by dado023
social icons position, how? was created by dado023
Last edit: 13 years 4 months ago by dado023.
Please Log in or Create an account to join the conversation.
13 years 4 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 4 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 4 months ago #104076
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
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.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
Time to create page: 0.202 seconds