social icons position, how?

  • Posts: 116
  • Thank you received: 1
11 years 6 months ago #103057

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



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: 11 years 6 months ago by dado023.

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13377
  • MODERATOR
11 years 6 months ago #103093

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

Please Log in or Create an account to join the conversation.

  • Posts: 116
  • Thank you received: 1
11 years 6 months ago #104000

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.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
11 years 6 months ago #104076

Hi,

In the plugin you will find four lines:

	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);
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,


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.058 seconds
Powered by Kunena Forum