Disregard my last post. I was able to call the pic in another part of the page that actually looks better than right above the detailed image. Thanks anyway.
|
Thanks alot boomer, this MOD works great!!!
|
Does anyone tried to have this detailed image popup mod working at products.tpl and cart.tpl level, I tried, but no luck, that will be nice if we can have this popup mod works at different level
|
Is there anyway to display the alt text that has been entered followed by "(click to close window)" instead of just having "click to close window"?
Or display that text below the image or something? |
Is this hack compatible with v4.0.12 ?
|
I have discovered something rather interesting and I don't know if it's a bug or not. What I did was I entered the http://www.stonecomputers.com.au website (which btw is using this mod) and clicked on an image of a laptop which it then enlarged on a separate window (so far so good). I then entered the http://www.mydukkan.com website and did the same thing with a guitar. What happened was, the window that displayed the image of a laptop was replaced with a picture of a guitar. Both websites were using the same image window to display their own images and no matter how many more new sites you visit, that use this mode, all the detailed pictures are shown through this one window. And while viewing the image, you can use the 'Back' button on your browser and see all the images previously shown. Sort of cool in a way... but not really sure what to think of it actually. Just thought you guys may want to know.
|
Quote:
Put this somewhere in skin1/customer/main/product_images.tpl Code:
{if $images[1].imageid ne ""} The line Code:
<script>document.write(photos_alt[0])</script> Will print out the Alt text above the image in this case. |
Quote:
Above is an error I am getting with x-cart 4.0.13 Any idea how to correct this? Thanks! |
Fix for Smarty Error Message
I solved this problem about the smarty error not being able to read the file (same error you are having and version).
I changed the "product.tpl" to put in a ../ before the file that was to be included so it knew where to look for it. It was at {include file="../detailed_popup_js.tpl"}. Once this was accomplished, voila - it was fixed. Now, if we could only do something with the search function!! |
:p
did i ever tell you i love you bomer? :oops:
it works on my shop atleast, with the php file directly under, not in customer |
All times are GMT -8. The time now is 02:09 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.