- Posts: 49
- Thank you received: 0
lightbox view multiple photos
Please Log in or Create an account to join the conversation.
We have an integration with Shadowbox for that.
You can find it in the documentation page, section "integrations".
We will improve this integration in the next release which will become integrated directly in HikaShop. Shadowbox will still be required and won't be added by HikaShop, but it will be easier to use it, without overrides.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
You still have the possibility to integrate shadowbox directly in your template, like we did for our website (which use J3).
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
- Posts: 8
- Thank you received: 0
Could you maybe explain how I can integrate Shadowbox directly into a template? I'm working on a J3 site as well and would like to use Shadowbox to navigate through product images directly, without first having to close one image to open another. Have been stumbling with the fact that the plugin doesn't support J3 but haven't found any other solution yet.
Thanks!
Please Log in or Create an account to join the conversation.
The best to integrate shadowbox is to put it directly into your template.
Downloading the javascript/css files and store it in a specific folder (in your template or in the joomla media folder).
After that you will have to edit your template to include the shadowbox javascript/css files and put a little script for the initialization:
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
- Posts: 8
- Thank you received: 0
Please Log in or Create an account to join the conversation.
Sorry but I didn't tell you to install the Shadowbox HikaShop override. You don't have to and I recommend you to remove this useless file.
HikaShop 2.2.2 have a native integration with Shadowbox but first, you have to install/integration manually Shadowbox in your template.
So please follow my previous instruction to integrate shadowbox in your template. Once done, I will explain you how to activate the shadowbox popup in the HikaShop popup system.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
Is it only when you are completely inside each product to lightbox work, or can you also get it to work from the product overview page, so you can scroll between products?
Thanks
Henrik Ris
Please Log in or Create an account to join the conversation.
The product overview page ?
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
Regards
Thanks
Henrik Ris
Please Log in or Create an account to join the conversation.
The image have a link to the product page, it's not a lightbox.
If you want to put a lightbox here, you will have to override/customize the view of the product listing.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
Can you guide me how I can make a lightbox on my product page, it must open in lightbox instead of going into the product itself.
like the one on your page
www.hikashop.com/extensions/upgrade-my-version.html
my version is joomla 3.0
and it's a lightbox on this page I mean.
maalfoto.dk/index.php/motionslob/product/listing
Thanks
Henrik Ris
Please Log in or Create an account to join the conversation.
You have to create an override for the "product | listing_...." (the type of listing you are using) and use some code that you will find in the view "product | show_block_img" to display the lightbox link.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
I have played around with the code but I can't get it right, can you help me along?
show_block_img.php
Line 53-75
How much shuld I take over in listing_table.php ?
listing_table.php
Line 95-96
Ragards,
Thanks
Henrik Ris
Please Log in or Create an account to join the conversation.
Well, it is a little bit more complicated than modifying one line in the listing_table view.
The popup is generated by
The second parameter is the link to the original image ($link in the listing_table view).
The third parameter is not used for our case.
The last parameter is the attributes, like the class or the onclick.
In the product page, we set the onclick event which use the javascript function defined later in the view. The function will create the gallery effect (removing duplicate images) but if you don't want to have a gallery, you can set this parameter empty ; it should work good.
As you will understand, it requires some php/development knowledge.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
We've looked a bit at the shadowbox plugin and made a version compatible with Joomla 3 that you can get here:
www.hikashop.com/shadowbox.zip
We've also contacted the developers and offered them the modified package. They should release a Joomla 3 compatible plugin soon.
Please Log in or Create an account to join the conversation.