I just added my search asset, and it is working well. (With the exception of not finding PDFs) But what I want to do, it have an advanced search page, where you can either select from a drop down, or radio buttons, what kind of asset you would like to search for. E.g. PDF, word file, and tagged items. How would I go about doing this, as I know it would have to have a large level of customization to achieve this.
Currently, you can't restrict searches by asset type. You can use categories to change the root node to be more specific though, which can have the same effect (i.e. switch the category to PDFs and target the parent folder of all the PDF assets).
If I did this, how would I code to add in the radio buttons with the different categories? I see that radio NZ does this with a dropdown, but I would like to do it with a radio button.
[quote]If I did this, how would I code to add in the radio buttons with the different categories? I see that radio NZ does this with a dropdown, but I would like to do it with a radio button.
[right][post=“15480”]<{POST_SNAPBACK}>[/post][/right][/quote]
The automatic category selector only prints a drop-down at the moment. You’d have to look at the form code it prints and then re-produce that with radio buttons manually.
You could also submit/fund a feature request to get Matrix to do this automatically.
I realise this is a really old thread, but I was searching and it popped up...
Couldn't you just create a metadata field for the asset called type and set it's default value to %asset_type%. Then you can apply normal metadata based searching to the search page. That way you can print the selector however you want.