rah_file_search
Published under current TXP projects
Simple public file search. Default search searhes matching results from files’ description and filename fields. When finding matching result, it displays it in the search results file list.
Image: rah_file_search
List of features
- Style search results with Textpattern file forms.
- A simple tag,
<txp:rah_file_search />. The tag shows search results. - The search works with the stannard core
?q-GET search. Core conditionals and forms can work too, including<txp:if_search />.
Requirements
- PHP 4.3.0+
- Textpattern 4.0.4+
Installation and usage
The general behavior stands: paste plugin code to the plugin installer textarea and run the automatic setup. Then just activate the plugin and you are ready to use new tags that plugin includes like others.
For usage, basically use <txp:rah_file_search /> to display the search results. Works kinda identically as <txp:article />.
Attributes
The tag is <txp:rah_file_search /> and attributes for it follow.
form
Textpattern’s file form used to display search results.
Example: form="fileform" Default: "files"
Example
Outputs search results and form.
<txp:search_input />
<txp:rah_file_search />