How to zoom when click on a product thumbnail ?

Author Message

Yann Decam

Saturday 17 March 2007 9:07:16 am

Hello everybody,

I'm searching a way to have a zoom when clicked on the thumbnail uploaded in the product content for a shopping website.

I've read several post on that this one particularty :

http://ez.no/community/forum/developer/display_large_image_on_click_small_image/re_display_large_image_on_click_small_image__1

But as i'm starting with EZ, i don't even know where to put this kind of portion code. What tpl is used for that ?
If someone can put me on the right way, that would be great.

Ekkehard Dörre

Sunday 18 March 2007 2:09:08 am

You can put template debug on:

http://ez.no/doc/ez_publish/technical_manual/3_8/installation/troubleshooting
http://ez.no/doc/ez_publish/technical_manual/3_8/reference/configuration_files/site_ini/debugsettings

then you see which template is used.

This template you can override and put the code inside.

Or you can use this
http://ez.no/community/contribs/applications/illightbox2

and change it for the product template.

Greetings, ekke

http://www.coolscreen.de - Over 40 years of certified eZ Publish know-how: http://www.cjw-network.com
CJW Newsletter: http://projects.ez.no/cjw_newsletter - http://cjw-network.com/en/ez-publ...w-newsletter-multi-channel-marketing

Ekkehard Dörre

Sunday 18 March 2007 2:13:56 am

Or you can use this:

http://ez.no/community/contribs/examples/ezpopup

one main thing is, which template is used and understanding the override system.

For templates:
http://ez.no/doc/ez_publish/technical_manual/3_8/templates/the_template_override_system

Greetings, ekke

http://www.coolscreen.de - Over 40 years of certified eZ Publish know-how: http://www.cjw-network.com
CJW Newsletter: http://projects.ez.no/cjw_newsletter - http://cjw-network.com/en/ez-publ...w-newsletter-multi-channel-marketing

Yann Decam

Monday 19 March 2007 4:43:07 pm

Thanks Ekkee for your complete post. Argh...The learning curve witth EZ is quite long and complex.
Regarding what we discussed, i used the debug function and found the product.tpl to be modified.But It seems the file can't be modified directly directly from the debug list of template founded. Have you ever seen this problem ?

For the overrides, i'll do it directly in the admin inrterface. I've read the documentation on this topic but it's not very clear. I've created a new surcharged file for Siteaccess.
My questions is how tell in the override.ini.append.php that it has to use the new override fille. I do not use rules and only priority.
Thanks for help by advance.
Patrice.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.