Results 1 to 9 of 9
  1. #1
    Join Date
    Jul 2006
    Posts
    30
    Plugin Contributions
    0

    Default Adding MIDI files

    How to make the website play .mid files?

  2. #2
    Join Date
    Aug 2006
    Posts
    56
    Plugin Contributions
    0

    Default Re: Adding MIDI files

    <EMBED src="file.mid" autostart=true loop=false volume=100
    hidden=true><NOEMBED><BGSOUND src="file.mid"></NOEMBED>

  3. #3
    Join Date
    Jul 2006
    Posts
    30
    Plugin Contributions
    0

    Default Re: Adding MIDI files

    I know the HTML coding, the problem is I cannot find the index html file for this zen cart. Can anyone help me?

    The index page is in php format. "index.ptp" So is there any html file that I can edit??? Does the "index.html" exist somewhere??? If not, how do I add mp3/midi/wav song files into my zen cart.

    Please help.

    Thanks

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

    Default Re: Adding MIDI files

    "where" exactly on your site do you wish to add this?
    .

    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.

  5. #5
    Join Date
    Jul 2006
    Posts
    30
    Plugin Contributions
    0

    Default Re: Adding MIDI files

    I wanna add it in the main page. Supposedly the person were to view my zen cart webpage the midi will automatically be played.

    For normal HTML webpage i know that this coding has to be added inside the index.html and fullstop. But for zen cart I cannot seem to find the existing of this index.html.

    Please help.

  6. #6
    Join Date
    Jul 2006
    Posts
    30
    Plugin Contributions
    0

    Default Re: Adding MIDI files

    I wanna add it to this main page at http://www.aphrodite.sg/shop

    Someone please help.

    ThanK you

  7. #7
    Join Date
    Feb 2006
    Location
    Chicago
    Posts
    1,162
    Plugin Contributions
    0

    Default Re: Adding MIDI files

    Not quite sure if this is the correct way but it achieves what you want

    Make these changes in first few lines of index.php

    require('includes/application_top.php'); <---- This is the wrong file. See next post

    echo '<EMBED src="pinball.mid" autostart=true loop=false volume=100';
    echo 'hidden=true><NOEMBED><BGSOUND src="pinball.mid"></NOEMBED>';


    // determine the page directory
    Last edited by DrByte; 17 Aug 2006 at 12:55 AM. Reason: path correction
    Tutorials on Zen Cart
    http://tutorials.zen-cart.com/index.php
    ---------------
    advanced.programmer at gmail dot com
    In love with Zen Cart!!

  8. #8
    Join Date
    Jun 2006
    Location
    Michigan
    Posts
    196
    Plugin Contributions
    0

    Default Re: Adding MIDI files

    1. Figure out what template you are using by going to your admin panel -> Tools -> Template Selection.

    2. Browse to includes/templates/YOURTEMPLATENAME/common/

    3. Edit tpl_main_page.php. This file holds the center content to your main page. Paste in the embed code here.

  9. #9
    Join Date
    Jul 2006
    Posts
    30
    Plugin Contributions
    0

    Default Re: Adding MIDI files


    Thanks guy! Its working now!

    Thanks alot!!

 

 

Similar Threads

  1. v139h Adding Javescript files
    By adb34 in forum General Questions
    Replies: 3
    Last Post: 24 Apr 2012, 03:31 PM
  2. Is it possible to use background midi; or Constant Contacts?
    By kachinas in forum General Questions
    Replies: 1
    Last Post: 27 Feb 2009, 07:35 AM
  3. vista issue?? adding to files
    By karen in forum Installing on a Windows Server
    Replies: 6
    Last Post: 7 May 2008, 10:08 PM
  4. Adding Files to Attributes
    By BrodieGirl in forum Customization from the Admin
    Replies: 2
    Last Post: 22 Nov 2006, 09:55 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