johnnyosc Posted December 6, 2002 Posted December 6, 2002 Is it possible to enable Admin to accept Flash files instead of Jpg or Gif? If so, how would I go about it?
Guest Posted December 10, 2002 Posted December 10, 2002 Yes it is possible i have seen it on www.aaarde.com How i dont know bud it is possible mabey you ask him by sending a mail... Regards, Rob
johnnyosc Posted December 11, 2002 Author Posted December 11, 2002 Rob, I checked out his site but its just the flash intro in the front page but not in the catalog it self? Anyone out there has a clue to add flash in the shopping cart via admin or replace jpg or gif with flash?
Aqua121 Posted December 11, 2002 Posted December 11, 2002 yeah, I'd like to be able to include Flash banners :P it would be neat Cheers, Susan * * * * * Find a way, or make one!
ozstar Posted December 11, 2002 Posted December 11, 2002 Hi, I want to put a flash banner up where the oscommerce.gif is in the home page header. I came across something but I'm still not usre. Have a look at let us know please.. http://www.oscommerce.com/forums/viewtopic.php...highlight=flash Regards Ozstar
Aqua121 Posted December 12, 2002 Posted December 12, 2002 I want to put a flash banner up where the oscommerce.gif is in the home page header. In order to do this, you'll have to edit header.php and include an object as you would do with any .swf file :wink: here's an example cart: http://beadsourcela.com/catalog/default.php and the code in it's header.php <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="350" height="75"> <param name=movie value="/catalog/images/logo.swf"> <param name=quality value=high> <embed src="/catalog/images/logo.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="350" height="75"> </embed> </object> I hope it's clear enough :D Cheers, Susan * * * * * Find a way, or make one!
ozstar Posted December 12, 2002 Posted December 12, 2002 Hello Susan, Many thanks for your help. I have looked at the header.php file and am not sure where to place that code due to the table structure. I would have it in the default position, where you have yours. BTW. I love what you have done to your logo. Soft and effective. Mine is like a minefield in comparison! :D Thanks again Ozstar
Aqua121 Posted December 12, 2002 Posted December 12, 2002 It goes into the very first table, first row, first column, - replacing I believe originally the oscommerce.gif - like this: <?php /* $Id: header.php,v 1.32 2002/06/05 21:03:46 dgw_ Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2001 osCommerce Released under the GNU General Public License */ ?> <table border="0" width="100%" cellspacing="0" cellpadding="0" bgcolor="#ADD6E8"> <tr class="header"> <td align="left" bgcolor="#ADD6E8"> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="350" height="75"> <param name=movie value="/catalog/images/logo.swf"> <param name=quality value=high> <embed src="/catalog/images/logo.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="350" height="75"></embed> </object> </td> <td bgcolor="#ADD6E8"></td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="1"> <tr class="headerNavigation"> <td class="headerNavigation"> <?php echo .......so on that's what the http://beadsourcela.com/catalog/ has. I hope this helps. :) Cheers, Susan * * * * * Find a way, or make one!
Aqua121 Posted December 12, 2002 Posted December 12, 2002 BTW. I love what you have done to your logo. Soft and effective. Mine is like a minefield in comparison! :D Thanks again Ozstar I'll be glad to make you one, just let me know :D Cheers, Susan * * * * * Find a way, or make one!
johnnyosc Posted December 17, 2002 Author Posted December 17, 2002 Susan, I can't get my flash header to show in the ssl pages in checkout? Do you need to code a command for 'SSL' somewhere on that code? Please advise. JOhnnyOSC
Aqua121 Posted December 17, 2002 Posted December 17, 2002 Johnny, no special code required. :D I have a linux server, with a shared certifciate. configured, so whatever can be accessed with http can be accessed with https without anything special. I'll try to dig out the emails I got from someone earlier that helped me tremendously in how to set the SSL up, so it won't give any problems and I'll post it here. :wink: what kind of server you have? how's your security configured? Cheers, Susan * * * * * Find a way, or make one!
johnnyosc Posted December 17, 2002 Author Posted December 17, 2002 Hello Susan, Its being hosted on a Linux server with shared ssl where you type in your url for ssl like this https://www.whatever.com/~yourusername As for security configuration I'm not sure? What you mean? Chmod?? It works well if i put a gif in there instead of flash but i like flash better. Heres the demo site you can visited to have a view. https://server104.securednshost.com/~fineti...talog/login.php notice no flash header, if you click another link that takes you out of ssl then you can see the header. Any ideas? JOhnny
johnnyosc Posted December 17, 2002 Author Posted December 17, 2002 Hello Susan, Thanks for your hellp but I finally figured it out. Its funny how something so simple can have you searching for hours. I corrected the path from /demo/catalog/images/yourfile.swf to images/yourfile.swf that seem to do the trick. What the trick in putting in the relative path (where to start putting the first directory)in order to avoid typing the absolute path?
ozstar Posted December 17, 2002 Posted December 17, 2002 Hi again Susan, Just got around to do it and it works fine. Many thanks, Ozstar BTW: I will take a raincheck on that offer if I may!! Did you do it in 'Flash' or in 'Firestarter' or one of those 'Flash' style progs?
Aqua121 Posted December 17, 2002 Posted December 17, 2002 What the trick in putting in the relative path... :D I'm glad you figured it out! and it shows up! :wink: Cheers, Susan * * * * * Find a way, or make one!
Aqua121 Posted December 17, 2002 Posted December 17, 2002 BTW: I will take a raincheck on that offer if I may!! Did you do it in 'Flash' or in 'Firestarter' or one of those 'Flash' style progs? I'm glad it worked out for you too! :D and you may take a raincheck anytime, just let me know what you need :wink: I'm not familiar with Firestarter, but I know there are different SW's that can be used to create swf files, and some are pretty good as far as visual affects. Cheers, Susan * * * * * Find a way, or make one!
Ramesh Posted December 20, 2002 Posted December 20, 2002 OSC allows you to customize your pages . If you want to include flash files (.swf) you have to place your code in the individual pages (.php) . You cannot simply replace the image names and extensions ( HTML images can only be .gif , .jpg or .png ) Flash requires an object tag and more info (plug-in type and attributes) The OSC team may allow you to choose .swf instead of jpgs or gifs in the future (well guys ?) for your product images. I know Flash is not opensource (.fla) but I think .swf is available to developers to write their own tools (Hence the range of text tools available). Hope this helps Regards Special Effects / 3d + Flash
Recommended Posts
Archived
This topic is now archived and is closed to further replies.