Actually when you select content it will search by all article data
(including article text, title, author etc.). The title and author options
are kind of like a filter: search only in the title or search by author in
order to narrow down the articles list.
By default, if you didn't specify the "f_search_scope" field in the search
form, Campsite will search the content - meaning all article data. As you
saw in the manual example ( http://code.campware.org/manuals/campsite/3.3/index.php?id=300) the
"f_search_scope" field is described by the user, there is no "camp_select"
option for it. So you can implement it however you like: radio box, pull
down list etc - any input type that will return only one value - no check
boxes. The only constraint is to return one of the three values: "content",
"author", "values". Of course it's up to you to set the default option in
the search form.
Mugur
On Fri, Mar 5, 2010 at 4:59 PM, wrote:
> Author: Terix
> Link: http://code.campware.org/phorum/read.php?8,8212,8213#msg-8213
>
> --------------------------------------------------------------------------------
>
> thanks for the answer, i saw the advanced search and there is a radio
> button to let enable the search on the content, title or author. But how can
> i enable by default that? i want to keep the search with just the textbox
> and the button, but i want that campsite search also con content, title and
> author.
>
> --
> Sent from Campware Forums
> http://code.campware.org/phorum
>