How to make the website play .mid files?
How to make the website play .mid files?
<EMBED src="file.mid" autostart=true loop=false volume=100
hidden=true><NOEMBED><BGSOUND src="file.mid"></NOEMBED>
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
"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.
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.
I wanna add it to this main page at http://www.aphrodite.sg/shop
Someone please help.
ThanK you
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!!
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.
![]()
![]()
![]()
Thanks guy! Its working now!
Thanks alot!!