rus3439 Posted March 31, 2005 Posted March 31, 2005 Hi, I am trying to substitute .swf flash button for "checkout" link. In sts_display_output.php file i substituted header_checkout.gif file for button.swf. The button won't display. Does anybody know what the problem is? Appreciate your help, Thanks, Ruslan We are not that rich to buy cheap things
ohduh! Posted April 27, 2005 Posted April 27, 2005 You might want to verify that the server recognizes that mime type. Check your .htaccess file. There should be a line on it that says, AddType application/x-shockwave-flash .swf If that's not the problem, I'm sorry. I'm still stumbling my way around osCommerce. Have noticed that some things need changing on several .php files as they are all connected to each other. So, unless someone else comes along with a good answer, I'd just keeping searching all the php files for .gif extensions. Good luck.
Iggy Posted April 27, 2005 Posted April 27, 2005 You might want to verify that the server recognizes that mime type. Check your .htaccess file. There should be a line on it that says, AddType application/x-shockwave-flash .swf If that's not the problem, I'm sorry. I'm still stumbling my way around osCommerce. Have noticed that some things need changing on several .php files as they are all connected to each other. So, unless someone else comes along with a good answer, I'd just keeping searching all the php files for .gif extensions. Good luck. <{POST_SNAPBACK}> I'm guessing but I think you'll have to drop all the accompanying flash code into your template in order to get it to display. So all the stuff that looks like <OBJECT WIDTH="430" HEIGHT="171" id="teaser" ALIGN=""> <PARAM NAME=movie VALUE="teaser.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src="teaser.swf" quality=high bgcolor=#FFFFFF WIDTH="430" HEIGHT="171" NAME="teaser" ALIGN="" TYPE="application/x-shockwave-flash"></EMBED> </OBJECT> Or you'll get nada. Iggy Everything's funny but nothing's a joke...
Iggy Posted April 27, 2005 Posted April 27, 2005 Oh, and how are you getting the variable/post to the button? The bit that specifies the product. <input type="hidden" name="products_id" value="41"> That's probably the biggest hurdle once you get the button to display. Iggy Everything's funny but nothing's a joke...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.