Auto Multi Columns. Updated 20-02-04 to allow for borders around cells Updated 18-11-03 to allow for mixing multi-columns with other templates. This readme will allow you to lay products out in any number of columns. The number of columns can be altered by setting a Custom Property. Replace Act_ProductBody.html with the following:-
NETQUOTEVAR:PARENTSECTIONSTOP NETQUOTEVAR:SECTIONLISTTOP NETQUOTEVAR:TOPSECTIONSEPARATOR NETQUOTEVAR:CARTERRORLISTXML NETQUOTEVAR:HIDDENINPUT
NETQUOTEVAR:PRODUCTBULK
NETQUOTEVAR:SINGLEADD
NETQUOTEVAR:BOTTOMSECTIONSEPARATOR NETQUOTEVAR:SECTIONLISTBOTTOM Replace Act_ProductSeparator.html with the following: (or patch the JavaScript below into your customised Act_productSeparator.html) NETQUOTEVAR:TEMPLATEBEGINXML
NETQUOTEVAR:TEMPLATEENDXML Replace Act_ProductLine.html with the following: (or save to a new filename if you want to have some original layouts) NETQUOTEVAR:ENDSEPARATOR NETQUOTEVAR:PRODUCTFORMBEGIN
NETQUOTEVAR:PRODUCTNAME NETQUOTEVAR:PRODUCTREF
NETQUOTEVAR:TEMPLATEBEGINXML NETQUOTEVAR:PRODUCTIMAGE NETQUOTEVAR:EXTINFOLINKNETQUOTEVAR:EXTINFOBUTTON
NETQUOTEVAR:PRODUCTBEGINLINKNETQUOTEVAR:PRODUCTLINKTEXTNETQUOTEVAR:PRODUCTENDLINK NETQUOTEVAR:PRICEEXPLANATION
NETQUOTEVAR:PRODUCTPRICE
NETQUOTEVAR:PRODUCTDESCRIPTION NETQUOTEVAR:OTHERINFOPROMPT NETQUOTEVAR:DATEPROMPT
NETQUOTEVAR:CARTERRORXMLNETQUOTEVAR:PRODUCTQUANTITY
NETQUOTEVAR:ADDTOCARTBUTTON
NETQUOTEVAR:TEMPLATEENDXML
NETQUOTEVAR:PRODUCTFORMEND NETQUOTEVAR:NEXT Go into Actinic / Advanced / Custom Properties, click the "+" sign and create a property called NUMCOLS of type text. OK out. Go Design / Options / Site Defaults / Properties, click the "+" sign and select NUMCOLS. Set its value to 3 (for 3 columns, 4 for 4 , etc). (if using Business uncheck Searchable and check Use as Customvar) OK out. You can set this value on a per Section basis, if required, by opening the Section, selecting Properties and setting it as above. You can also mix in other templates wherever you like.