How do I... Create a custom search form?

Table of contents
No headers

This page contains a customized search form that will only find pages with a pre-defined constraint.

Use this page to only search pages tagged with "extensions":
{{ dhtml.inputbox{value: __request.args.q, button: "Search", field: "q", publish: page.uri} }}

{{ if(__request.args.q) { 
	wiki.search(__request.args.q, _, _, "tag:extensions") 
} }}

Use this page to only search pages tagged with "extensions":




 

Tag page
Viewing 1 of 1 comments: view all
How can you hack this script to make it a search by tag? (instead of typing "tag:searchterm" that is)
Posted 00:22, 24 Dec 2008
Viewing 1 of 1 comments: view all
You must login to post a comment.