iboMonkey Posted May 14, 2010 Share Posted May 14, 2010 Dear all,In my lay-out I have no need for thickbox (or likewise boxes). I would like to know where to disable it. In product.tpl I've disabled the following line: getImageLink($product->link_rewrite, $imageIds, 'thickbox')}" rel="other-views" class="{if !$jqZoomEnabled}thickbox{/if} {if $smarty.foreach.thumbnails.first}shown{/if}" title="{$image.legend|htmlspecialchars}"> This way it doesn't pop-up anymore, but I'd like to know how to get rid of the 'pointing finger' when the mouse hovers over the image-block. I want it to remain a simple pointer. I think I should change something in this part of the code of product.tpl, but I'm not sure what: {if $have_image} getImageLink($product->link_rewrite, $cover.id_image, 'large')}" {if $jqZoomEnabled}class="jqzoom" alt="{$link->getImageLink($product->link_rewrite, $cover.id_image, 'thickbox')}"{else} title="{$product->name|escape:'htmlall':'UTF-8'}" alt="{$product->name|escape:'htmlall':'UTF-8'}" {/if} id="bigpic"/> {else} name|escape:'htmlall':'UTF-8'}" /> {/if} If someone could reach me a hand here, I'd be very greatful!Kind regards,ibo Link to comment Share on other sites More sharing options...
AlphaSpas Posted May 14, 2010 Share Posted May 14, 2010 You need to go into the global.css stylesheet in the theme directory and find:#primary_block #image-block img#bigpic {cursor:pointer;height:350px;width:350px;}and change to:#primary_block #image-block img#bigpic {cursor:default;height:350px;width:350px;} Link to comment Share on other sites More sharing options...
iboMonkey Posted May 14, 2010 Author Share Posted May 14, 2010 Great, it works! Thank you. Link to comment Share on other sites More sharing options...
disarci Posted May 26, 2010 Share Posted May 26, 2010 TKS to both ;-) Link to comment Share on other sites More sharing options...
iboMonkey Posted May 30, 2010 Author Share Posted May 30, 2010 You're welcome disarci,I still have a question myself though. With the above given adaption of the code, I turn off not just the thick-box but the thumbnails under the big image as well.The only thing I'd like is to have the pop-up of the thickbox disabled, since my product images are large enough and don't need an extra thick-box magnification.Anyone a solution to this?Kind regards,iboMonkeyPs. for reference: webshop Link to comment Share on other sites More sharing options...
outlet.ee Posted July 25, 2010 Share Posted July 25, 2010 The thread is marked as 'solved' but where is the solution? There are no replies to the last post. Link to comment Share on other sites More sharing options...
ImpulsoTecnologico Posted February 14, 2011 Share Posted February 14, 2011 Hi, I managed to do it, followin this thread:http://www.prestashop.com/forums/viewthread/59670/integration/change_product_image_on_click_instead_of_mouseoverHope it helps! Link to comment Share on other sites More sharing options...
Dave1987 Posted December 22, 2016 Share Posted December 22, 2016 Ciao a tutti, riapro questo topic per chiedere appunto delucidazioni su questo problema, ho installato il tema STING in Prestashop e dato che sfrutta immagini grandi già di default non ho bisogno dell'apertura a click della galleria (thickbox) ma solo che al passaggio del mouse (e click) cambi l'immagine della miniatura anche nella videata principale. E' fattibile? Ho cercato altri post ma nel file product.tpl non ho trovato il testo di codice corrispondente. Grazie in anticipo, Davide. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now