Forums / Install & configuration / Search results
sergey podlesnyi
Tuesday 04 February 2003 9:13:05 am
I copied search form code from one of the supplied demo templates, and installed to my site (www.computercommunity.com). Search works well for single word search (e.g. try to search for "3050" on my site).
If however I search for two or more words combination (e.g. search for "RSA-3050") I get the resulting object names well but not their "main_node_id" which makes URL's to found objects invalid.
Output is produced in a loop like
{section name=Search loop=$search_result} {$Search:item.name} -- prints correctly in any case {$Search:item.main_node_id} -- prints only for one-word search {$Search:item[0]} -- prints a contentobject_id which I do not know how to use to build a URL from...
Any help please...