Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2007
    Posts
    1
    Plugin Contributions
    0

    Idea or Suggestion Adding flash to your zen cart site

    TESTED ON ZEN CART 1.3.7 ONLY


    To enter flash images anywhere in the site you must change the html_output file located in the includes/functions folder of your site with this one:

    "http://cyprus-gadgets.com/downloads/html_output%20with%20flash%20support.zip"

    to access this file the username is demetris and password demetris.

    now at every position that you need a flash or virtually anything else than a simple image just replace the zen_image call for the image you want to zen_flash . For instance in the tpl_header.php file where you call the logo images if you want to use flash the call for the image should look like this :zen_flash(DIR_WS_TEMPLATE.'images/flash.swf')?></a></div></div>
    instead of :zen_image(DIR_WS_TEMPLATE.'images/image.jpg')?></a></div></div>

    Good Luck All .!!

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Adding flash to your zen cart site

    Nice idea. I'm not sure it's the best approach, but if it works for you, use it. I'm not convinced it'll be fully cross-platform-friendly in that method.

    Essentially what you've done is just change the <img src="...." .... > tag and replace "img" with "embed". While that may work, it's not complete code, and supplies irrelevant parameters to flash while skipping what could be other important parameters used by flash.

    I suppose for very simple flash objects that may be acceptable, if it were to work properly on all browsers.

    Another improvement I'd suggest would be to not touch html_output.php at all, but to instead add a new file, such as /includes/functions/extra_functions/my_zen_flash_functions.php and just put your zen_flash() and zen_flash_OLD() functions in there. That way you won't be messing with core files, and you can adjust your custom code easily without creating problems for upgraders or busting peoples' sites if they install your older code when a new html_output.php is published.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Dec 2007
    Posts
    2
    Plugin Contributions
    0

    Default Re: Adding flash to your zen cart site

    Guys what is the simplest way to add a flash audo file to the product info page?

    In Cre Loaded 6.2 B2B and standard all you had to do was click on the flash insert button built into the program but with Zen Cart I believe one has to hard code it or modify certain pages in order to insert a flash component.

    What I need to know in simple detail how would someone new to Zen Cart 1.3.8a would go about it?


    Thank...

  4. #4
    Join Date
    Sep 2007
    Location
    indonesia
    Posts
    2
    Plugin Contributions
    0

    Default Re: Adding flash to your zen cart site

    HELLO EVERYONE !!!!
    I M A FRENCH AND I SPEEK ENGLISH BUT SOMEONE CAN HELP ME IN FRENCH,,,,????
    I WOULD LIKE TO PUT FLASH IN THE MAIN PAGE BUT HOW PLEASE ,,,,???
    BUT I M JEWELS DESIGNER NOT WEBSITE DESIGNER SO !!!!
    IF WE CAN MAKE THAT STEP BY STEP.
    THANKS A LOT FOR THE ANSWER.

 

 

Similar Threads

  1. Adding flash video to Zen-cart
    By dionidis in forum General Questions
    Replies: 2
    Last Post: 10 Jan 2009, 12:50 PM
  2. Problems installing Zen Cart on your-site.com
    By chukles in forum General Questions
    Replies: 10
    Last Post: 11 Nov 2006, 07:39 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg