Auto Multi Columns. Allows Products and Fragments to be set out in columns on Catalog pages. This patch is not for amending the layout of Brochure pages - they will be unaffected by this. Updated 09-01-06 to workaround Actinic bug (Fragments not following Section level Properties). Updated 16-11-05 to allow Fragments to be mixed in with Products. 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:DISCOUNTINFOBULK
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:DISCOUNTINFO
NETQUOTEVAR:PRODUCTDESCRIPTION NETQUOTEVAR:OTHERINFOPROMPT NETQUOTEVAR:DATEPROMPT
NETQUOTEVAR:CARTERRORXMLNETQUOTEVAR:PRODUCTQUANTITY
NETQUOTEVAR:ADDTOCARTBUTTON
NETQUOTEVAR:TEMPLATEENDXML
NETQUOTEVAR:PRODUCTFORMEND NETQUOTEVAR:NEXT Make file MultiColumnCatalogFragment_TextAndTitle.html from the following.
NETQUOTEVAR:FRAGMENTANCHOR

NETQUOTEVAR:BROCHURE_TITLE

NETQUOTEVAR:BROCHURE_TEXT
Make file MultiColumnCatalogFragment_ImageAndTitle.html from the following
NETQUOTEVAR:FRAGMENTANCHORNETQUOTEVAR:BROCHURE_IMAGE

NETQUOTEVAR:BROCHURE_TITLE

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. USING WITH FRAGMENTS You can fit Fragments into these columns but you have to select a custom template for these fragment layouts. Use either MultiColumnCatalogFragment_TextAndTitle.html or MultiColumnCatalogFragment_ImageAndTitle.html. If you need other layouts, use the above as a basis for creating your own. This patch has no effect on fragments within Brochure pages. They are handled completely separately. You may also want to get rid of the
that Actinic uses to separate fragments, as this is useless on a tabular layout. To do this go to Design / Text / Go to / Phase -1, Id 2282 and delete the
there.