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

Detailed Image Popup in Version 3.50

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-30-2003, 10:44 AM
  chetlucas's Avatar 
chetlucas chetlucas is offline
 

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

Default Detailed Image Popup in Version 3.50

I have just installed Version 3.50 and would like to use detailed image popups to project a larger version of the image when a customer clicks on the thumbnail image.

I have tried a couple of the ideas outlined in the group here but have been unable to get anything to work. I keep getting an error message that the template engine could not be found. I am doing something wrong here, I know it. All I want is something simple, click on it, and up pops my detailed image.

I have images located in the file system and not the database.

i.e., /home/giftcom/public_html/xcart/files/images/detailed and /home/giftcom/public_html/xcart/files/images/thumbs

I would appreciate some assistance here with the code and what to do. I am clueless when it comes to php and this smarty code stuff as well as tpl's and the rest. I am used to inserting a reference tag and having a new window popup in html.

thanks
Reply With Quote
  #2  
Old 11-30-2003, 10:53 AM
  adpboss's Avatar 
adpboss adpboss is offline
 

X-Man
  
Join Date: Feb 2003
Location: Ontario, Canada
Posts: 2,389
 

Default

My friend this forum is for posting Custom Mods only.

I would advise deleting this post and adding on to the end of one of the existing "Detailed Image Popups" posts already in this forum. When you add to the thread, everyone who has participated in the past gets emailed and you will likely get a faster response.

If you need help editing templates or adding features I would advise the Template Editing subforum.

Good Luck!


************************************
This user has moved his question, mods please delete this thread.

************************************
Reply With Quote
  #3  
Old 11-30-2003, 11:05 PM
  carlisleglass's Avatar 
carlisleglass carlisleglass is offline
 

eXpert
  
Join Date: Aug 2003
Location: Carlisle, UK
Posts: 316
 

Default

Have you tried the one I coded ?

http://forum.x-cart.com/viewtopic.php?t=5411

I can confirm it works in v3.5.0
__________________
Darren Kierman
Carlisle Glass (http://www.carlisleglass.co.uk/)
... running X-Cart Gold 4.4.5 [unix]
Reply With Quote
  #4  
Old 11-30-2003, 11:05 PM
  carlisleglass's Avatar 
carlisleglass carlisleglass is offline
 

eXpert
  
Join Date: Aug 2003
Location: Carlisle, UK
Posts: 316
 

Default

Have you tried the one I coded ?

http://forum.x-cart.com/viewtopic.php?t=5411

I can confirm it works in v3.5.0
__________________
Darren Kierman
Carlisle Glass (http://www.carlisleglass.co.uk/)
... running X-Cart Gold 4.4.5 [unix]
Reply With Quote
  #5  
Old 12-02-2003, 01:26 PM
  B00MER's Avatar 
B00MER B00MER is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Keller, TX (Cart-Lab.com)
Posts: 3,165
 

Default

any include statement with .. in it needs to be changed to $xcart_dir."/

Example:
Code:
include "../smarty.php";

Version 3.5.0 needs:
Code:
include $xcart_dir."/smarty.php";

Btw, no need for cross posting see the forum rules in my signature.
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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 03:36 AM.

   

 
X-Cart forums © 2001-2020