PDA

View Full Version : Theme editing help please


Star
27th January 2005, 06:38 AM
I have been using EziPro for a number of years and change the look our our website nearly every year to keep it fresh and add new features etc

I have recently worked on a new template with jazzy javascript menu which I researched and did myself given I was the one maintaining the site.

http://ezimerchant.com/faq/show/faq50070.asp is always a good help. Anyway...

When I generate the editted themes, the pages look great, my menu and new look all work, however, if I go into 'Modify Theme Layout' the whole program hangs suggesting there is a code error somewhere.

I appreciate the reluctance of the support team to help as there is no direct revenue here for them but figured someone else had this problem and a cure. I suspected there is a tag incorrect somewhere? What follows is my Category Page source.

thanks in advance

<head>
<script type="text/javascript" language="javascript" src="sniffer.js">

</script>
<script type="text/javascript" language="javascript1.2" src="custom.js"></script>
<script type="text/javascript" language="javascript1.2" src="style.js"></script>


<meta name="keywords" content="australian wine,wine retailers">
<meta name="description"
content="Australian Wine retailers">
<title>WineStar - Australian Wine</title>

</head>

<body>
<script type="text/javascript" language="javascript1.2" src="menu.js"></script>

<table border="1" cellspacing="1" style="border-collapse: collapse; border-bottom-width:0" bordercolor="#111111" width="808" id="AutoNumber2" bgcolor="#0000FF" align="left" height="50">
<tr>
<td width="51%" style="border-bottom:1px none #111111; border-left-style:none; border-left-width:medium; border-right-style:none; border-right-width:medium; border-top-style:none; border-top-width:medium" bordercolor="#0000FF">
<p align="center"><b><font face="Trebuchet MS" size="6">&nbsp;<font color="#FFFFFF">Wine</font><font color="#FFFF00">Star</font></font></b></td>
<td width="49%" style="border-style: none; border-width: medium" bgcolor="#0000FF" bordercolor="#0000FF">
<p align="center">
<font face="Tahoma" style="font-weight:700; font-size:12px" color="#FFFFFF">
Search WineStar:</font><font face="Verdana" style="font-size: 6pt"><input type="text" name="SearchKeyword" size="25" style="font-size: 12px; border-style: solid; border-width: 1; padding-left: 4; padding-right: 4; padding-top: 1; padding-bottom: 1"><input type="submit" value="Go" onClick="location.href='webcontent-2.htm?' + SearchKeyword.value " class="TXTRedSmallB" style="color: #000080; font-size: 10px; font-weight: bold; background-color: #ECECEC"></input></td>
</tr>
</table>
<p align="center">&nbsp;</p>

<p align="center">&nbsp;</p>

<table border="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="808" id="AutoNumber23">
<tr>
<td width="100%">
<p align="center">
<font size="+1" color="#3333ff" face="Georgia, Times New Roman, Times, serif"><#CategoryImageLocation></font>
<font size="+1" color="#3333ff" face="Georgia, Times New Roman, Times, serif"><#CategoryDescription></font>
</p>
<p align="center"><font size="-1" face="Georgia, Times New Roman, Times, serif"><#SubCategoriesHeading></font>
<font size="-1" face="Georgia, Times New Roman, Times, serif"><#SubCategoriesTable></font>
</p>
<p align="center"><font size="-1" face="Georgia, Times New Roman, Times, serif"><#ProductList></font>
</p>
<center>
<p><font size="-1" face="Georgia, Times New Roman, Times, serif"><span
style="font-family: Tahoma,Verdana; font-size: 8pt;"><#CategoryPageNavigation></span></font>
</p>
<p><font size="-1" face="Georgia, Times New Roman, Times, serif"><#BannerText></font></p>
</center>
<p align="center"><#EndBodyScript></td>
</tr>
</table>

</body>

</html>

star
27th January 2005, 09:53 AM
I have played around with this further, it seems the code in question is as follows i.e. when I remove this the 'modify theme layout' opens fine:

<I><script type="text/javascript" language="javascript1.2" src="menu.js"></script>

<table border="1" cellspacing="1" style="border-collapse: collapse; border-bottom-width:0" bordercolor="#111111" width="808" id="AutoNumber2" bgcolor="#0000FF" align="left" height="50">
<tr>
<td width="51%" style="border-bottom:1px none #111111; border-left-style:none; border-left-width:medium; border-right-style:none; border-right-width:medium; border-top-style:none; border-top-width:medium" bordercolor="#0000FF">
<p align="center"><b><font face="Trebuchet MS" size="6">&nbsp;<font color="#FFFFFF">Wine</font><font color="#FFFF00">Star</font></font></b></td>
<td width="49%" style="border-style: none; border-width: medium" bgcolor="#0000FF" bordercolor="#0000FF">
<p align="center">
<font face="Tahoma" style="font-weight:700; font-size:12px" color="#FFFFFF">
Search WineStar:</font><font face="Verdana" style="font-size: 6pt"><input type="text" name="SearchKeyword" size="25" style="font-size: 12px; border-style: solid; border-width: 1; padding-left: 4; padding-right: 4; padding-top: 1; padding-bottom: 1"><input type="submit" value="Go" onClick="location.href='webcontent-2.htm?' + SearchKeyword.value " class="TXTRedSmallB" style="color: #000080; font-size: 10px; font-weight: bold; background-color: #ECECEC"></input></td>
</tr>
</table>
<p align="center">&nbsp;</p>

<p align="center">&nbsp;</p></I>

Therefore I would suggest something is amiss with this part of the code. Would appreciate any help here.

star
27th January 2005, 11:07 AM
David, you can delete this thread now if you wish, I found the problem, it was this line;

<td width="51%" style="border-bottom:1px none #111111; border-left-style:none; border-left-width:medium; border-right-style:none; border-right-width:medium; border-top-style:none; border-top-width:medium" bordercolor="#0000FF">

which didn't agree with ezimerchant.

For anyone interested, I just added each line seperately and tested until I found the offending code

dferguson
27th January 2005, 01:52 PM
Hi

Glad the problem is fixed for you.. I did take a look at your template files but without spending hours troubleshooting it I couldnt offer an easy answer.

Unfortunatly we cannot trouble shoot custom templates to this extent - It simply takes to long and many customers almost ask us to write them for them.

If the problem is obvious (I did look!) then of course I will always try to provide an answer.

We can highly reccommend the services of www.practical-webs.com - Mel and his team do a teriffic job at creating ezimerchant Professional templates.. Some need to be seen to be believed. If you want a professional looking site or simply need some GOOD help troubleshooting your own template, contact practical-webs for good quality, great priced advise.