Hi,
1. How do I create a search per field function. Now the search works on all fields at the same time.
2. What are 'Defined Fields' for in the backend?
search per field
Re: search per field
Hi,
Why do you need a search per field function?
The defined list can be used when a field have values selectable from a list. You can create several lists and when you create a defined field, you choose the list associated.kbondaren a écrit :2. What are 'Defined Fields' for in the backend?
There is no search per field function. In the search area, you can only display search per defined fields (see an example: http://www.steevo.fr/fr/mes-miniatures/nosearch) and the filter field search on all fields.kbondaren a écrit :1. How do I create a search per field function. Now the search works on all fields at the same time.
Why do you need a search per field function?
Re: search per field
I'd like to have per field search so when someone is looking for a certain value and knows that it is in a particular field he/she gets back search results just from that field. This will narrow the search results to fewer items and make search function more helpful. Per field search is very common feature and I am sure should be easy to implement since you already have search plugin. I do not know PHP enough but I think there must me an easy way to create a search form with every field having a separate search form element.
Re: search per field
Yes it's common when the values are in an exhaustive list. So that's why "defined" fields are easy filterable.kbondaren a écrit :Per field search is very common feature
In version 0.5 for joomla 2.5 only, this will be easy to add a search field for "line" or "text" fields but i don't know that this will be interested for "image" or "file".
For "number" field, i want to make a search system with "greater than x", "lower than x" and "between x and y". That's will be in a next release.
So do you need search per field function for all types of fields ?
Re: search per field
I have only three "Simple field' text fields for which I'd like to have separate searches. I agree it is not necessary for image fields. It would be great to have it for text fields and number fields.
Re: search per field
Ok, I will add that for next release.