- Posts: 7
- Thank you received: 1
enlarge image directly in the product listing
- cocacolacowboys
-
Topic Author
- Offline
Less
More
11 years 1 month ago - 11 years 1 month ago #212548
by cocacolacowboys
enlarge image directly in the productpage was created by cocacolacowboys
-- HikaShop version -- : 250
-- Joomla version -- : 324
-- Browser(s) name and version -- : Chrome42.0.2311.90 m
Please have a look, it works on another site but not on this one:
datorhjalp-sodermalm.se/2015/blommor-web...ng/category/19-popp1
Here its working perfect when I click on the image....
When Im pressing on a image its NOW opening in the same window.
mobil2008.se/2015/glaedjeflickor/index.p...onsttryck-21x29-7-cm
I tried to change in listing_img_title but without success- Please I need some help...
Thank you
-- Joomla version -- : 324
-- Browser(s) name and version -- : Chrome42.0.2311.90 m
Please have a look, it works on another site but not on this one:
datorhjalp-sodermalm.se/2015/blommor-web...ng/category/19-popp1
Here its working perfect when I click on the image....
When Im pressing on a image its NOW opening in the same window.
mobil2008.se/2015/glaedjeflickor/index.p...onsttryck-21x29-7-cm
I tried to change in listing_img_title but without success- Please I need some help...
Thank you
Last edit: 11 years 1 month ago by cocacolacowboys.
Please Log in or Create an account to join the conversation.
11 years 1 month ago #212560
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic enlarge image directly in the productpage
Hi,
I can't see the first website ; it requires an authentication.
But about the second website,yes you have a view override for the product listing (img_title one, yes) to add the image popup ; because that is not provided by default in HikaShop.
By default the thumbnail image is displayed ; but you can load and use the hikashop popup helper to create the image popup, like it is done in the product page.
Regards,
I can't see the first website ; it requires an authentication.
But about the second website,yes you have a view override for the product listing (img_title one, yes) to add the image popup ; because that is not provided by default in HikaShop.
By default the thumbnail image is displayed ; but you can load and use the hikashop popup helper to create the image popup, like it is done in the product page.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
- cocacolacowboys
-
Topic Author
- Offline
Less
More
- Posts: 7
- Thank you received: 1
11 years 1 month ago - 11 years 1 month ago #212661
by cocacolacowboys
Replied by cocacolacowboys on topic enlarge image directly in the productpage
Hi again, so what do you mean by "hikashop popup helper". Is it "Styles for hikashop", legal pack or some extensions, or what?
Or is it enough to just:
You need to replace:
<a href="<?php echo $link;?>" title="<?php echo $this->escape($this->row->product_name); ?>">
By:
<a title="" onclick="SqueezeBox.fromElement(this,{parse:'rel'});return false;" href="<?php echo $this->image->getPath(@$this->row->file_path); ?>" rel="{handler:'image'}" target="_blank">
In the view "product / listing_img_title" (or another one if you are using another one).
Or is it enough to just:
You need to replace:
<a href="<?php echo $link;?>" title="<?php echo $this->escape($this->row->product_name); ?>">
By:
<a title="" onclick="SqueezeBox.fromElement(this,{parse:'rel'});return false;" href="<?php echo $this->image->getPath(@$this->row->file_path); ?>" rel="{handler:'image'}" target="_blank">
In the view "product / listing_img_title" (or another one if you are using another one).
Last edit: 11 years 1 month ago by cocacolacowboys.
Please Log in or Create an account to join the conversation.
11 years 1 month ago #212675
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic enlarge image directly in the productpage
Hi,
If you're sure to use Squeezebox for the image popup ; sure you can put directly the javascript call.
Regards,
If you're sure to use Squeezebox for the image popup ; sure you can put directly the javascript call.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
- cocacolacowboys
-
Topic Author
- Offline
Less
More
- Posts: 7
- Thank you received: 1
11 years 1 month ago - 11 years 1 month ago #212687
by cocacolacowboys
Replied by cocacolacowboys on topic enlarge image directly in the productpage
Ok, I think its ok right now - maybe it was the catche who caused my problems.... :sick:
Last edit: 11 years 1 month ago by cocacolacowboys.
Please Log in or Create an account to join the conversation.
Time to create page: 0.182 seconds