V6 - MULTIPLE COLUMN SEARCH RESULTS If you want the search results displayed over more than one column then the following patch will do it. This has been tested on Catalog 6.1.3. ************* Step 1 replace Act_ResultsTemplate.html (back it up first) with the following code.

.



NETQUOTEVAR:SEARCHBLOCK ************* Step 2 edit SearchScript.pl (use a text editor (www.editpad.com) and back it up first). find the two consecutive lines (there should only be one instance) for ($nCount = $nMin; $nCount < $nMax; $nCount++) # process the range of product references in the results set { REPLACE these two lines with the following code ####### NorcatColumns code starts here my $NorcatColumns = CUSTOMVAR:SEARCHCOLS; # desired number of columns my $NorcatCol = 1; # (V11) column count ####### NorcatColumns code ends here for ($nCount = $nMin; $nCount < $nMax; $nCount++) # process the range of product references in the results set { ####### NorcatColumns code starts here if ( $nCount == ($nMax - 1) ) # last item { my $NorcatEndCode = ''; while ( $NorcatCol++ < $NorcatColumns ) { $NorcatEndCode .= ''; # pad out unused table entries } $ACTINIC::B2B->SetXML('S_TABLEEND', $NorcatEndCode . ''); # end the table } # Normal table cell (not last item) elsif ( $NorcatCol++ >= $NorcatColumns ) # reset after required no. columns { $NorcatCol = 1; $ACTINIC::B2B->SetXML('S_TABLEEND', ''); # and start a new table row } else { $ACTINIC::B2B->SetXML('S_TABLEEND', ''); # null on intermediate entries } ####### NorcatColumns code ends here In Actinic go to Advanced / Custom Properties click the "+" sign and create two CUSTOMVARs SEARCHCOLS and SEARCHCOLWIDTH Go to Design / Options / Site Defaults, click the "+" sign and set SEARCHCOLS to 4 (if you want a 4 column layout) SEARCHCOLWIDTH to 25% (if you want a 4 column layout) (if using Business then for both of the above uncheck Searchable and check Use as CUSTOMVAR. If you want a 3 column layout then the values would be 3 and 33% Update your site and that's that.