Fancybox for Gallery

  • Posts: 152
  • Thank you received: 0
12 years 1 day ago #76643

Hello,

I'm looking for a way to use fancybox for the image gallery. I have hard coded fancybox into my theme's files and have it working elsewhere. Now I believe all I need to do is add the following statements the links for images on the hikashop images:

class="fancybox" rel="group1"

I've tried looking in "Views -> Product -> Show" but can't see where this would go. I've also tried to follow previous posts on implementing shadowbox but this doesn't seem to corrolate with the code in hikashop 2? I may be wrong about this though.

Any advice is welcome!

Phil

Hikashop Business 2.0.0


Create your own style of luxury bespoke furniture online

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

  • Posts: 26152
  • Thank you received: 4027
  • MODERATOR
12 years 22 hours ago #76725

Hi,

We have a documention on the integration of "shadowbox" which could help you.
www.hikashop.com/en/support/documentatio...ox-media-player.html

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.

  • Posts: 152
  • Thank you received: 0
11 years 11 months ago #77447

Hi Jerome,

I've decided to try to use shadowbox instead.

I've followed the instructions on that guide and got the shadowbox plugin working. However, after removing the code in Product -> Show:

$this->setLayout('show_block_img');
echo $this->loadTemplate();

Duplicate images still show up for each variant. Any idea why this might be? I've followed the guide exactly, I left everything default etc.


Create your own style of luxury bespoke furniture online
Last edit: 11 years 11 months ago by plantpotphil.

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

  • Posts: 13201
  • Thank you received: 2322
11 years 11 months ago #77463

Hi,

Are you sure that you have removed this part of code in the file of the good template ?

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

  • Posts: 152
  • Thank you received: 0
11 years 11 months ago #77464

Hi Xavier, yes 100% sure. I searched for those 2 lines and removed them. After saving the file, I tried searching for those lines and there is now nothing.


Create your own style of luxury bespoke furniture online

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

  • Posts: 13201
  • Thank you received: 2322
11 years 11 months ago #77650

Hi,

Could you give us a link to your website, and a backend access ? (you can send it by pm)

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

  • Posts: 152
  • Thank you received: 0
11 years 11 months ago #77709

Hi Xavier, i have sent you a PM


Create your own style of luxury bespoke furniture online

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

  • Posts: 13201
  • Thank you received: 2322
11 years 11 months ago #77721

Done, I think that you were editing the file for the template beez5 and not beez20 :)

The following user(s) said Thank You: plantpotphil

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

  • Posts: 152
  • Thank you received: 0
11 years 11 months ago #77724

I knew it would be something stupid like that!!

Sorry, I really thought I'd checked everything!

Thanks for your help.


Create your own style of luxury bespoke furniture online

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

Time to create page: 0.078 seconds
Powered by Kunena Forum