Author |
Topic |
|
tzursade
Starting Member
Israel
11 Posts |
Posted - May 31 2008 : 13:22:41
|
Hi i try to run my shop in mozila Firefox and when i view the page of extended product it came with un recognized marks in the end of the page and with the header of the page again. eny know problems with Mozila Firefox? (i don't made any changes in the code of this page).
tzur |
|
elammers
VP-CART Super User
USA
256 Posts |
Posted - May 31 2008 : 21:14:36
|
Only time I've seen unwanted extra stuff in FF is when I made a mistake in my code, which we've all done. Can you post a link to the problem so someone can offer up a possible cause and solution?
Regards, Eric Lammers www.KrackMedia.com Building More Than Web Sites . . . Building a Web Presence |
|
|
tzursade
Starting Member
Israel
11 Posts |
|
elammers
VP-CART Super User
USA
256 Posts |
Posted - June 23 2008 : 14:50:04
|
It's hard to tell by just looking at the source pulled by the browser instead of your desktop source files, but I spotted code in the DIV ID=Review area like META tags and another table ID=container -- this is all stuff that doesn't belong here.
Did you customize your Review code or maybe the template HTML file for the product details accidentally has all that stuff normally in the SHOPPAGE_HEADER.HTM file.
Regards, Eric Lammers www.KrackMedia.com Building More Than Web Sites . . . Building a Web Presence |
|
|
tzursade
Starting Member
Israel
11 Posts |
Posted - June 24 2008 : 08:27:56
|
hi this is the code of the tmp_product.htm that i have from VPASP_6.50 and it not working ok with fierfox: [ADD_PAGEHEADER]
<script language="javascript"> var xmlHttp
function showReview(str) { if (str.length==0) { document.getElementById("review").innerHTML="" return }
xmlHttp=GetXmlHttpObject() if (xmlHttp==null) { return } var url="shopreviewlist.asp" url=url+"?id="+str url=url+"&sid="+Math.random() xmlHttp.onreadystatechange=stateChanged xmlHttp.open("GET",url,true) xmlHttp.send(null) }
function stateChanged() { if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete") { document.getElementById("review").innerHTML=xmlHttp.responseText } }
function GetXmlHttpObject() { var objXMLHttp=null if (window.XMLHttpRequest) { objXMLHttp=new XMLHttpRequest() } else if (window.ActiveXObject) { objXMLHttp=new ActiveXObject("Microsoft.XMLHTTP") } return objXMLHttp }
showReview("[catalogid]") </script>
<table width="100%" border="0" cellspacing="3" cellpadding="3"> <tr> <td> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td align=left width="50%" valign="top"> <table width="100%" border="0" cellspacing="2" cellpadding="2"> <tr> <td class=breadcrumb> [formatbreadcrumb] </td> </tr> <tr> <td valign=middle align=CENTER> <img src="[extendedimage]" border="0" alt="[translate cname]" /> </td> </tr> </table> </td> <td bgcolor="#cccccc" width=1><img src="images/misc/shim.gif" width="1" height="25"></td> <td><table width="100%" border="0" cellspacing="2" cellpadding="1"> <tr> <td align="left"> <span class=hdrproduct>[translate cname]</span> <br />[translate cdescription] </td> </tr> $ <tr><td><hr size="1" style="color:#cccccc" /></td></tr><tr><td align="left">[getlang langproductcode][ccode]</td></tr> <tr> <td><hr size="1" style="color:#cccccc" /></td> </tr> <tr> <td align="left">[getlang langproductstock] [cstock] </td> </tr> <tr> <td><hr size="1" style="color:#cccccc" /></td> </tr> <tr> <td align=left> <span class=price>[FORMATCUSTOMERPRICE cprice] </span><br /> $ <span class=pricesmall>[getlang langproductretailprice]: <strike>[formatcurrency retailprice]</strike><br /> $ [getlang langproductpricesaving]: [formatsaving cprice]</span></p> </td> </tr> <tr> <td><hr size="1" style="color:#cccccc" /></td> </tr> <tr> <td align="left"> [SPECIAL_ORDERBUTTON] </td> </tr> <tr> <td><hr size="1" style="color:#cccccc" /></td> </tr> <tr> <td align="left"> [add_reviewlinks] [add_ratingsummary] </td> </tr> <tr> <td><hr size="1" style="color:#cccccc" /></td> </tr> <tr> <td align="left"> [add_comparelinks] </td> </tr> <tr> <td><hr size="1" style="color:#cccccc" /></td> </tr> <tr> <td align="left"> <a href="shoptellafriend.asp?id=[catalogid][add_websesslink]">[getlang langtellafriendheader]</a> </td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td align="left"> <hr size="1" style="color:#cccccc" /> $ <p>[translate extendeddesc]</p> </td> </tr> <tr> <td class=hdrproduct align="left"> [add_crossselling] </td> </tr> </table> <div id="review"></div> [Add_alsobought] [ADD_PageTrailer] |
|
|
tzursade
Starting Member
Israel
11 Posts |
Posted - June 24 2008 : 08:33:32
|
i replace it with the code shown down and it look OK in Firefox. all the part for the review not working at all. in the both of the code.
ADD_PAGEHEADER] <table width="100%" border="0" cellspacing="3" cellpadding="3"> <tr> <td> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td align=left width="50%" valign="top"> <table width="100%" border="0" cellspacing="2" cellpadding="2"> <tr> <td class=breadcrumb> [formatbreadcrumb] </td> </tr> <tr> <td valign=middle align=CENTER> <img src="[extendedimage]" border="0" alt="[translate cname]" /> </td> </tr> </table> </td> <td bgcolor="#cccccc" width=1><img src="images/misc/shim.gif" width="1" height="25"></td> <td><table width="100%" border="0" cellspacing="2" cellpadding="1"> <tr> <td align="left"> <span class=hdrproduct>[translate cname]</span> <br />[translate cdescription] </td> </tr> $ <tr><td><hr size="1" style="color:#cccccc" /></td></tr><tr><td align="left">[getlang langproductcode][ccode]</td></tr> <tr> <td><hr size="1" style="color:#cccccc" /></td> </tr> <tr> <td align="left">[getlang langproductstock] [cstock] </td> </tr> <tr> <td><hr size="1" style="color:#cccccc" /></td> </tr> <tr> <td align=left> <span class=price>[FORMATCUSTOMERPRICE cprice] </span><br /> $ <span class=pricesmall> Was <strike>[formatcurrency retailprice]</strike><br /> $ [getlang langproductpricesaving]: [formatsaving cprice]</span></p> </td> </tr> <tr> <td><hr size="1" style="color:#cccccc" /></td> </tr> <tr> <td align="left"> [SPECIAL_ORDERBUTTON] </td> </tr> <tr> <td><hr size="1" style="color:#cccccc" /></td> </tr> <tr> <td align="left"> [add_reviewlinks] [add_ratingsummary] </td> </tr> <tr> <td><hr size="1" style="color:#cccccc" /></td> </tr> <tr> <td align="left"> [add_comparelinks] </td> </tr> <tr> <td><hr size="1" style="color:#cccccc" /></td> </tr> <tr> <td align="left"> <a href="shoptellafriend.asp?id=[catalogid][add_websesslink]">[getlang langtellafriendheader]</a> </td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td align="left"> <hr size="1" style="color:#cccccc" /> $ <p>[translate extendeddesc]</p> </td> </tr> <tr> <td class=hdrproduct align="left"> [add_crossselling] </td> </tr> </table> [Add_alsobought] [ADD_PageTrailer] |
|
|
elammers
VP-CART Super User
USA
256 Posts |
Posted - June 24 2008 : 23:00:20
|
I think I see the problem. Remove your first and last lines of code as they are not needed in this template.
[ADD_PAGEHEADER]
[ADD_PageTrailer]
Regards, Eric Lammers www.KrackMedia.com Building More Than Web Sites . . . Building a Web Presence |
|
|
tzursade
Starting Member
Israel
11 Posts |
Posted - June 25 2008 : 00:06:39
|
you must have this two line otherwise you will not see your site menu. if you look on the two source samples that i view you can see that in the first one (the template of 6.50) is with script for the review and it not working OK, and the second is without that script working good.
Regards Tzur Sade |
Edited by - tzursade on June 25 2008 00:07:47 |
|
|
elammers
VP-CART Super User
USA
256 Posts |
Posted - June 25 2008 : 09:58:41
|
Sorry, you're right. I was going from memory. You may be best to just open a trouble ticket with the help desk.
Regards, Eric Lammers www.KrackMedia.com Building More Than Web Sites . . . Building a Web Presence |
|
|
|
Topic |
|