devshb
Senior Member
United Kingdom
1904 Posts |
Posted - April 20 2005 : 08:53:40
|
it might be that your pages aren't using templates; if you go to configuration and enter "%temp%" into the search field, then press [search], you'll get some of the relevant config options.
if you do another search for "%html%" you'll get more.
Simon Barnaby Developer [email protected] www.BigYellowZone.com Web Design, Online Marketing and VPASP addons
Edited by - devshb on April 20 2005 08:54:51 |
|
|
smitmap
Starting Member
USA
11 Posts |
Posted - April 20 2005 : 10:15:50
|
I checked %temp% I saw all three of the templates that I am using in thier proper fields.
xcategorydisplaytemplate - tmp_categorytemplate.htm xcategoryproducttemplates - yes xcategoryusetemplate - yes xproductdisplaytemplate - testtemplate2.htm xproducttemplate - extendedtemplate.htm
Hide on categories - sub - products -- no
hassubcategories - yes on main category - no on subcategories
products - marked with category & subs
Don't have a category template for sub-category(need one?)
CODE for tmp_categorytemplate.htm (per help desk) <div align="center"> <table border="0" cellpadding="2" width="100%"> <tr> <TD valign=top align=center> <p> [formatimage sub]</a></p> </td> </tr> <tr> <td align=center valign=top> <p> [formathyperlinks sub]
</a></p> </td> </tr> <tr> <td valign=top align=center> <font style='FONT-WEIGHT:600;FONT-SIZE:8pt;COLOR:black;FONT-FAMILY:Tahoma,Verdana'>[catmemo] </font></td> </tr> </table> </div> </body>
CODE for testtemplate2.htm <html> <head> <title>Template for products</title> <link rel="stylesheet" type="text/css" href="shop.css"> <meta NAME="description" content="Chappell Supply and Equipment Online Catalog"> <xml><o:shapedefaults v:ext="edit" spidmax="1027"/> </xml> <meta name="Microsoft Theme" content="colestheme 1011, default"> <script language="JavaScript"> <!-- function FP_swapImg() {//v1.0 var doc=document,args=arguments,elm,n; doc.$imgSwaps=new Array(); for(n=2; n<args.length; n+=2) { elm=FP_getObjectByID(args[n]); if(elm) { doc.$imgSwaps[doc.$imgSwaps.length]=elm; elm.$src=elm.src; elm.src=args[n+1]; } } }
function FP_preloadImgs() {//v1.0 var d=document,a=arguments; if(!d.FP_imgs) d.FP_imgs=new Array(); for(var i=0; i<a.length; i++) { d.FP_imgs[i]=new Image; d.FP_imgs[i].src=a[i]; } }
function FP_getObjectByID(id,o) {//v1.0 var c,el,els,f,m,n; if(!o)o=document; if(o.getElementById) el=o.getElementById(id); else if(o.layers) c=o.layers; else if(o.all) el=o.all[id]; if(el) return el; if(o.id==id || o.name==id) return o; if(o.childNodes) c=o.childNodes; if(c) for(n=0; n<c.length; n++) { el=FP_getObjectByID(id,c[n]); if(el) return el; } f=o.forms; if(f) for(n=0; n<f.length; n++) { els=f[n].elements; for(m=0; m<els.length; m++){ el=FP_getObjectByID(id,els[n]); if(el) return el; } } return null; } // --> </script> </head> <body topmargin="250" leftmargin="150" marginwidth="0" marginheight="0" onload="FP_preloadImgs(/*url*/'images/button2F.gif', /*url*/'images/button2E.gif', /*url*/'images/button18.gif', /*url*/'images/button17.gif')" style="position: relative; left: 150; width: 72; top: 250; right: 760; text-align: justify; float: right" rightmargin="760"> <div align="center"> <div align="right"> <TABLE border="0" cellpadding="4" width="641" style="border-collapse: collapse"> <TR> <TD bgcolor="#333399" width="0"></TD> <TD bgcolor="#333399" width="0"><B><FONT size="2" color="#FFFFFF">[cname] </FONT></B></TD></a> <TD rowspan="2" bgcolor="#DADAB6"> <p align="center"><span style="font-weight: 400"> <a target="_parent" href="shopexd.asp?id=[catalogid]"> <img border="0" src="[cimageurl]" alt="Click on picture for more information"></a> </span> <p align="center"> <font size="1"> <a target="_parent" href="shopexd.asp?id=[catalogid]">Click here for more information</a></p> </font> </TD> </TR> <TR> <TD rowspan="3" colspan="2" bgcolor="#DADAB6"> <p align="left"> <font size="1" face="Verdana">Code:<b> [ccode]</b> </font></p> <TABLE border="0" cellspacing="0" cellpadding="0" align="center"> <TR> <TD bgcolor="#DADAB6"> <DIV align="center"><font face="Arial" size="2"> [cdescription] [FormatProductOptions sub] </font></DIV> </TD> </TR> </TABLE></TD> </TR> <TR> <TD align=center height="20" valign="bottom" bgcolor="#DADAB6"><B> <font size="1" face="Verdana">Price:</font> </B><I><B> <font size="2" face="Arial">[formatcurrency cprice]</font></B></I> </TD> </TR> <TR> <TD align=center valign="bottom" height="0" bgcolor="#DADAB6"><B>Qty:</B> [formatquantity sub] <a href="shopaddtocart.asp?productid=1&quantity=1"> <img border="0" id="img1" src="images/button16.gif" height="20" width="100" alt="Add to Cart" fp-style="fp-btn: Metal Capsule 1; fp-font-style: Bold; fp-font-color-hover: #800000; fp-font-color-press: #008000; fp-transparent: 1; fp-orig: 0" fp-title="Add to Cart" onmouseover="FP_swapImg(1,0,/*id*/'img1',/*url*/'images/button17.gif')" onmouseout="FP_swapImg(0,0,/*id*/'img1',/*url*/'images/button16.gif')" onmousedown="FP_swapImg(1,0,/*id*/'img1',/*url*/'images/button18.gif')" onmouseup="FP_swapImg(0,0,/*id*/'img1',/*url*/'images/button17.gif')"></a></a></TD> </TR> </TABLE> </div></div> <div align="right"> </div>
|
|
|