Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Enable Flash in Admin???


johnnyosc

Recommended Posts

Posted

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

Posted

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?

Posted

yeah, I'd like to be able to include Flash banners :P

 

it would be neat

Cheers,

Susan

 

* * * * *

Find a way, or make one!

Posted
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!

Posted

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

Posted

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!

Posted
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!

Posted

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

Posted

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!

Posted

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

Posted

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?

Posted

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?

Posted
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!

Posted
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!

Posted

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

  • 8 months later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...