I have a couple of questions regarding the search functionality I was hoping someone could help me with;
With regard to searching certain subsections of my site, I understand that this can be achieved by creating a search page, then selecting the root node under Search Parameters as the asset at the top of the tree that I wish to search. Do I need to create a new seach page for EVERY sub section I wish to search if I want these searches independent, or can I reuse some of the search asset along the way? ie if I have 10 sub sections I want to search independently, do I need to create 10 search pages buried in the sections I want to search, each with a different root node?
Is it possible to add a search field or search form to a standard page so that only that page is searched for information?
Can I prevent the search from going down the tree at a certain point, or will it always search every branch to the end?
edit
Is there a keyword or mechanism to display the first few lines of the asset contents in the search results? There is the %asset_contents% keyword, but that displays the entire page contents, which is too confusing with a large number of results.
Also, is it possible to display a metadata field that I have created on the search results page? For example, I've created metadata called "Short Description" for a page asset. In the search results, can I use a keyword like %asset_short_description% or something like that to display the contents of that pages metadata?
[quote]Also, is it possible to display a metadata field that I have created on the search results page? For example, I’ve created metadata called “Short Description” for a page asset. In the search results, can I use a keyword like %asset_short_description% or something like that to display the contents of that pages metadata?
[right][post=“8270”]<{POST_SNAPBACK}>[/post][/right][/quote]
Yes you can do this. The format is %asset_metadata_metadatafieldname%
Also I’m pretty sure the metadata field name is case sensitive so it might be:
Yes, bendy is right. It's case sensitive. It also won't allow spaces so when you are naming your metadata fields be sure to use a naming convention like:
If you are referring to the manuals on the download page I might let someone else answer that. They should be due out soon.
If you wanted to get a head start on creating a search page alot of the information from the old manual is still valid. There are some new listing engine features that are used that have been explained in the CMS packages manual (under asset listings, or what's new) - you could conceivably transfer some of that knowledge into creating a search page.