Hikashop Social Networks Plugin: Show on each page

  • Posts: 137
  • Thank you received: 2
11 years 3 months ago #120678

-- HikaShop version -- : 2.2
-- Joomla version -- : 3.0

hi, I would like to display the Hikashop Social Networks Plugin on each page of my website as the topmost item in the content area. By default it is only showing up in the product view and there it shows up below the product title.

Can this be behaviour be changed by me?

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

  • Posts: 2334
  • Thank you received: 403
11 years 3 months ago #120688

Hi there,

The plugin we propose is giving a link to "like" or "share" your Hikashop product, it's not a link to your website or your twitter account so it's kind of meaningless to display it on each page of your website. If you just want a link to your account I think there are multiple plugins and component which will satisfy you (take a look on the jed).

You can however change the way it display in the product view by editing the view show_default and moving this code:

<?php
	//PLUGIN hikashop social
	$pluginsClass = hikashop_get('class.plugins');
	$plugin = $pluginsClass->getByName('content', 'hikashopsocial');
	if(!empty($plugin) && (@$plugin->published || @ $plugin->enabled)) {
		echo '{hikashop_social}';
	}
?>
Where you want in the same file.

The following user(s) said Thank You: Bifford

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

  • Posts: 137
  • Thank you received: 2
11 years 3 months ago #120694

Eliot, thanks for asking. I want to "mis-use" it to like the shop rather than an individual product. So I thought it would be benficial to have it displayed regardless on which page the customer is... can this module be used for it? Otherwise I am looking for another scoial media plugin (ideally a module that I can place somewhere).

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

  • Posts: 2334
  • Thank you received: 403
11 years 3 months ago #120719

Unfortunately this plugin is definitely not made for that kind of thing.
I would suggest, if you have few coding skills, to create your own module since what you want to display is basically an image with a link on it. Then you would be able to display it everywhere you want.
However, if it seems too hard, I would recommend to take a look at that kind of plugins (but I never tried it):
extensions.joomla.org/extensions/social-...ocial-profiles/22999
extensions.joomla.org/extensions/social-...ocial-profiles/22735
extensions.joomla.org/extensions/social-...ocial-profiles/16772

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

Time to create page: 0.068 seconds
Powered by Kunena Forum