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

Random Image Scripts

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #11  
Old 08-01-2003, 11:32 AM
 
jgkiefer jgkiefer is offline
 

Advanced Member
  
Join Date: Apr 2003
Posts: 85
 

Default

If a product does not have a picture available will it skip over it?
Reply With Quote
  #12  
Old 08-01-2003, 11:53 AM
  TelaFirma's Avatar 
TelaFirma TelaFirma is offline
 

X-Adept
  
Join Date: Nov 2002
Location: North Carolina USA
Posts: 930
 

Default

Yes, it reads the images database table, not the products table.

Thanks Shane... Seems like I'm giving away all my secrets lately... gonna have to figure out some new 'tricks' to still set my stuff apart! lol
Reply With Quote
  #13  
Old 08-01-2003, 06:07 PM
 
jgkiefer jgkiefer is offline
 

Advanced Member
  
Join Date: Apr 2003
Posts: 85
 

Default

Too cool!
Reply With Quote
  #14  
Old 08-02-2003, 02:01 PM
 
jgkiefer jgkiefer is offline
 

Advanced Member
  
Join Date: Apr 2003
Posts: 85
 

Default

Quote:
*This is for version 3.4.x and will work with inages stored in a File System or in the Database.
I keep getting "No Image Available". I am using the database for images.
Reply With Quote
  #15  
Old 08-04-2003, 11:43 AM
  TelaFirma's Avatar 
TelaFirma TelaFirma is offline
 

X-Adept
  
Join Date: Nov 2002
Location: North Carolina USA
Posts: 930
 

Default

Whats the URL that is being generated for the image that will not display?
Reply With Quote
  #16  
Old 08-18-2003, 12:20 PM
  TelaFirma's Avatar 
TelaFirma TelaFirma is offline
 

X-Adept
  
Join Date: Nov 2002
Location: North Carolina USA
Posts: 930
 

Default

I just realized I left a part out. I ahve changed the above post to reflect this...

in your customer/home.php file, add this line close to the top:

Code:
include "./random.php";

This will make it work... sorry I left that out.
Reply With Quote
  #17  
Old 09-26-2003, 12:22 PM
  august's Avatar 
august august is offline
 

Senior Member
  
Join Date: Jul 2003
Posts: 178
 

Default

Funny, I don't see you using this mod in any of your sites. Why?
Reply With Quote
  #18  
Old 10-09-2003, 03:21 AM
  TelaFirma's Avatar 
TelaFirma TelaFirma is offline
 

X-Adept
  
Join Date: Nov 2002
Location: North Carolina USA
Posts: 930
 

Default

Quote:
Originally Posted by august
Funny, I don't see you using this mod in any of your sites. Why?
Because the sites I am using it on are not in my sig. I have created many more sites than are in my sig and am working on more. However, not every X-Cart site I do will be using this. I only use things where appropriate.
Reply With Quote
  #19  
Old 10-13-2003, 11:59 PM
 
jeeya jeeya is offline
 

X-Adept
  
Join Date: May 2003
Location: USA
Posts: 807
 

Default .

Hello!

Is there a way to display regular Product Image - instead of detailed image?

And keep it randomly going by 2 or 5 second of time without refreshing?

Thanks
__________________
X-Cart Version 4.1.8
Hosted on Linux
Reply With Quote
  #20  
Old 10-14-2003, 10:03 AM
  groovico's Avatar 
groovico groovico is offline
 

X-Man
  
Join Date: Apr 2003
Location: Firetanksoftware.com
Posts: 2,326
 

Default Re: .

Quote:
Originally Posted by raxitpatel
Hello!

Is there a way to display regular Product Image - instead of detailed image?

And keep it randomly going by 2 or 5 second of time without refreshing?

Thanks

Yeah you'll need both php/template changes and some javascripting to do it without page refreshes
__________________
Groovico

Used by X-carters the world over:
Marketing Manager Pro Bundle For X-cart
Featured Product Manager for X-cart
Feed manager pro for X-cart

http://www.firetanksoftware.com

Celebrating 7 Years of providing quality X-cart Add ons and X-cart Mods for x-cart 3.X to X-cart 4.4.X
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



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:33 AM.

   

 
X-Cart forums © 2001-2020