magicspon Posted November 29, 2006 Posted November 29, 2006 Hi I was having a nightmare trying to get a flash movie to load onto the index.php file so i made index.html as my home page, uploaded the flash movie and it works fine. is there anything wrong with using html pages, i would like to known if you could build almost an entire site in html and just use the os php pages for adding items to cart and payment etc. just a thought thanks dave
ComicWisdom Posted November 29, 2006 Posted November 29, 2006 Hi I was having a nightmare trying to get a flash movie to load onto the index.php file so i made index.html as my home page, uploaded the flash movie and it works fine. is there anything wrong with using html pages, i would like to known if you could build almost an entire site in html and just use the os php pages for adding items to cart and payment etc. just a thought thanks dave There is nothing wrong with using html pages. Just if you using index.html make sure your catalog/index.php is not in the root directory or you'll run into problems. Just between us, remember there are only 10 kinds of people in the world; those who understand binary and those who don't!! Remember, learning is a "do-it-yourself" experience; although, not necessarily a "do-it-BY-yourself" experience. The quickest way to learn is to forget to BACKUP!
Scorpion Cart Posted November 29, 2006 Posted November 29, 2006 Tihis contribution could be usefull to you http://www.oscommerce.com/community/contri...,all/search,sts
Jack_mcs Posted November 29, 2006 Posted November 29, 2006 Hi I was having a nightmare trying to get a flash movie to load onto the index.php file so i made index.html as my home page, uploaded the flash movie and it works fine. is there anything wrong with using html pages, i would like to known if you could build almost an entire site in html and just use the os php pages for adding items to cart and payment etc. You stand the chance of losing session ID's when you do this. It is not a fatal problem and many shops run this way. If you get complaints from your visitors though, you should fix it. Better to just fix the flash problem to begin with, I think. There are contributions showing how to use flash and examples in the forums. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
magicspon Posted November 29, 2006 Author Posted November 29, 2006 There is nothing wrong with using html pages. Just if you using index.html make sure your catalog/index.php is not in the root directory or you'll run into problems. how do i make sure the index.php is not the root directory... thanks dave
spax Posted November 29, 2006 Posted November 29, 2006 Well, if the address is www.your_domain.com/catalog/index.php then it isn't in the root. For that, the address would read www.your_domain.com/index.php Pay attention to what Jack stated. If your customers browsers don't accept cookies, by going to a HTML page, they wiil lose their session.
magicspon Posted November 29, 2006 Author Posted November 29, 2006 Well, if the address is www.your_domain.com/catalog/index.php then it isn't in the root. For that, the address would read www.your_domain.com/index.php Pay attention to what Jack stated. If your customers browsers don't accept cookies, by going to a HTML page, they wiil lose their session. at the moment i've got gumproductions.co.uk/cocoshop/index.html and cocoshop/index.php, i've tested the site in IE, Firefox, Mozilla and slimbrowser and it all works fine, other than a script error which only seems to appear in IE... states that there is a syntax error on lines 9 and 20 although i've had no luck finding what they are... thanks dave
magicspon Posted November 29, 2006 Author Posted November 29, 2006 at the moment i've got gumproductions.co.uk/cocoshop/index.html and cocoshop/index.php, i've tested the site in IE, Firefox, Mozilla and slimbrowser and it all works fine, other than a script error which only seems to appear in IE... states that there is a syntax error on lines 9 and 20 although i've had no luck finding what they are... thanks dave Hi, could the fact that i've got a index.html and a index.php have something to do with the syntax errors. It states that there are errors on lines 15 and 22... Can anyone spot the errors. The site seems to work fine but i don't really want to publish the site on its final domain (cocoshop.co.uk) with these errors <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <link rel="stylesheet" type="text/css" href="stylesheet.css"> <style type="text/css"> <!-- .style1 {font-family: Arial, Helvetica, sans-serif} .style2 { font-size: 12px; color: #660000; font-weight: bold; } --> </style> <head> <script language="javascript">AC_FL_RunContent = </script> <script src="AC_RunActiveContent.js" language="javascript"></script> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Coco</title> </head> <!--$headcontent--> <script language="javascript"><!-- function popupWindow(url) {window.open(url,'popupWindow',&;'toolbar=no,location=no,directories=no status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no,width=100,height =100,screenX=150,screenY=150,top=150,left=150') //--></script> <body> <table width="910" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="75" rowspan="3" valign="top"><script type="text/javascript"> AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','75','height','550','src','/chocolatedrip','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','/chocolatedrip' ); //end AC code </script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="75" height="550"> <param name="movie" value="/chocolatedrip.swf" /> <param name="quality" value="high" /> <embed src="/chocolatedrip.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="75" height="550"></embed> </object></noscript> <script type="text/javascript" src="includes/sts_templates/test/ieupdate.js"></script> </td> <td height="32" colspan="9" valign="top"><table width="94%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="738" height="25"><img src="../Lines.jpg" width="735" height="32" /></td> </tr> </table></td> <td width="100" rowspan="2" valign="top"><img src="../Coco.jpg" alt="Coco" width="100" height="52" /></td> </tr> <tr> <td width="111" height="21" valign="top"><!--DWLayoutEmptyCell--> </td> <td width="56" valign="top"><a href="includes/sts_templates/test/index.php"></a> <a href="index.html"><img src="../home.jpg" alt="Home" width="42" height="21" border="0" /></a></td> <td width="62" valign="top"><a href="index.php?cPath=21"><img src="../sweets.jpg" alt="Sweets" width="51" height="21" border="0" /></a></td> <td width="81" valign="top"><a href="index.php?cPath=23"><img src="../sugarfree.jpg" alt="Sugar Free" width="72" height="21" border="0" /></a></td> <td width="78" valign="top"><a href="index.php?cPath=22"><img src="../chocolate.jpg" alt="Chocolate" width="69" height="21" border="0" /></a></td> <td width="86" valign="top"><a href="index.php?cPath=24"><img src="../handmade.jpg" alt="Handmade" width="80" height="21" border="0" /></a></td> <td width="90" valign="top"><a href="account.php"><img src="../account.jpg" alt="My Account" width="82" height="21" border="0" /></a></td> <td width="103" valign="top"><a href="shopping_cart.php"><img src="../shoppingcart.jpg" alt="Shopping Cart" width="96" height="21" border="0" /></a></td> <td width="68" valign="top"><a href="checkout_shipping.php"><img src="../checkout.jpg" alt="Checkout" width="68" height="21" border="0" /></a></td> </tr> <tr> <td height="516" colspan="10" valign="top"><script type="text/javascript"> AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','835','height','490','src','homepage','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','homepage' ); //end AC code </script> <noscript> <p> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="835" height="490"> <param name="movie" value="homepage.swf" /> <param name="quality" value="high" /> <embed src="homepage.swf" width="835" height="490" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed> <br /> </object> </p> </noscript></td> </tr> <tr> <td height="19" colspan="11" valign="top"><div align="center" class="style1"><span class="style2">-- <a href="contact_us.php">Contact</a> -- <a href="conditions.php">Terms & Conditions</a> -- <a href="privacy.php">Privacy</a> -- <a href="shopping_cart.php">Shopping Cart</a> -- <a href="login.php">Login</a> -- <a href="logoff.php">Logout</a> </span> --</div></td> </tr> <tr> <td height="19" colspan="11" valign="top"><div align="center"><span class="style2">Site built by <a href="http://www.gumproductions.co.uk">Gum Productions</a> ©</span></div></td> </tr> </table> </body> </html> As i said i haven't noticed any actual problems other than this apparent syntax error, i'm not to clued up on html or php, i'm more of a wysiwyg man!! thanks dave
Recommended Posts
Archived
This topic is now archived and is closed to further replies.