rah_link_search

Published under current TXP projects

Set up a simple frontend link search. Search query matches needle to link’s name, description and url, and returns results.

Download rah_link_search v0.1

Image: rah_link_search

Image: rah_link_search

List of features

Requirements

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_link_search /> to display the search results. Works kinda identically as <txp:article />.

Attributes

The tag is <txp:rah_link_search /> and attributes for it follow.

form
Textpattern’s link form used to display search results.
Example: form="linkform" Default: "plainlinks"

Examples

Example #1: Outputs search results and form.

<txp:search_input />
<txp:rah_link_search />

Example #2: Used as a container tag.

<txp:rah_link_search>
	<h3><txp:link /></h3>
	<p><txp:link_description /></p>
</txp:rah_link_search>