Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Detailed Image(s) Popup 2.1 [3.4.x-4.0.x]

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #101  
Old 03-23-2005, 11:01 AM
 
longhorn180 longhorn180 is offline
 

Senior Member
  
Join Date: Apr 2004
Location: Richmond, Virginia
Posts: 187
 

Default

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.
__________________
4.1.9 (Linux) Live Store
www.thecrackedbook.com
Find used books and out of print books.
Reply With Quote
  #102  
Old 04-01-2005, 07:25 AM
 
kalmaster kalmaster is offline
 

Advanced Member
  
Join Date: Aug 2004
Posts: 44
 

Default

Thanks alot boomer, this MOD works great!!!
__________________
X-Cart Gold edition
X-Cart version 4.0.4 [Unix]
Reply With Quote
  #103  
Old 04-04-2005, 03:34 PM
 
pwd88 pwd88 is offline
 

Advanced Member
  
Join Date: Dec 2004
Posts: 80
 

Default

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
__________________
XCart 4.0.18 Gold
X-Giftregistry
Neon light
Fashion mosaic
Tabbed product menu
Reply With Quote
  #104  
Old 04-05-2005, 12:37 PM
 
RobotDeathSquad RobotDeathSquad is offline
 

Advanced Member
  
Join Date: Oct 2002
Posts: 80
 

Default

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?
__________________
RobotDeathSquad
Version 4.0.11
Reply With Quote
  #105  
Old 04-24-2005, 02:28 AM
 
D.Thornley@salford.ac.uk D.Thornley@salford.ac.uk is offline
 

Member
  
Join Date: Mar 2005
Posts: 22
 

Default

Is this hack compatible with v4.0.12 ?
__________________
Cart Version 4.0.12
Reply With Quote
  #106  
Old 04-25-2005, 03:37 AM
 
Online Michael Online Michael is offline
 

eXpert
  
Join Date: Mar 2005
Location: Melbourne, Australia
Posts: 273
 

Default

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.
__________________
X-Cart 5.3.5.4
Reply With Quote
  #107  
Old 04-25-2005, 08:58 AM
 
sstillwell@aerostich.com sstillwell@aerostich.com is offline
 

eXpert
  
Join Date: Jun 2004
Location: Duluth, MN
Posts: 242
 

Default

Quote:
Originally Posted by RobotDeathSquad
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?

Put this somewhere in skin1/customer/main/product_images.tpl
Code:
{if $images[1].imageid ne ""} <tr> <td width="20%" height="21" onClick="javascript:backward();return false;" style="cursor:pointer;cursor:hand;" onMouseOver="'"><p align="left">[img]{$ImagesDir}/larrow.gif[/img] Previous</td> <td align="center"><div id="photosalt"><script>document.write(photos_alt[0])</script></div></td> <td width="20%" height="21" onClick="javascript:forward();return false;" style="cursor:pointer;cursor:hand;"><p align="right">Next [img]{$ImagesDir}/rarrow.gif[/img]</td> </tr> {/if}

The line
Code:
<script>document.write(photos_alt[0])</script>

Will print out the Alt text above the image in this case.
__________________
No longer using Xcart, was good while it lasted.
Reply With Quote
  #108  
Old 04-28-2005, 07:07 AM
 
LightingMania LightingMania is offline
 

Newbie
  
Join Date: Apr 2005
Location: St Augustine, Florida
Posts: 3
 

Default

Quote:
Warning: Smarty error: unable to read resource: "detailed_popup_js.tpl" in /x-cart/Smarty-2.6.3/Smarty.class.php on line 1082

Above is an error I am getting with x-cart 4.0.13

Any idea how to correct this?

Thanks!
Reply With Quote
  #109  
Old 04-28-2005, 07:38 AM
  chetlucas's Avatar 
chetlucas chetlucas is offline
 

Advanced Member
  
Join Date: Oct 2003
Location: Inverness, Florida
Posts: 56
 

Default 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!!
__________________
X-Cart version 4.1.11 (Unix)
Apache version 1.3.41 (Unix)
MySQL version 5.0.67 - community
PHP version 5.2.5
PERL version 5.8.8
http://www.etekmart.com
Reply With Quote
  #110  
Old 04-29-2005, 12:50 AM
  Owl's Avatar 
Owl Owl is offline
 

Advanced Member
  
Join Date: Mar 2003
Location: Sweden
Posts: 92
 

Default :p

did i ever tell you i love you bomer?
it works on my shop atleast, with the php file directly under, not in customer
__________________
-----------------------------------
4.2 rox...

http://www.fivestar.nu | www.nystil.se | www.hidealite.se
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 05:09 AM.

   

 
X-Cart forums © 2001-2020