summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-08-26 21:57:59 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-08-26 21:57:59 +0000
commit2bec3518c22c2627df4062c80179a5b7027c52bf (patch)
tree99b7fe914a0565bb413e52432cfe075c12c0ecc0 /doc
parent02a2de8ead6d7afd828643397e2f68f0c63acb70 (diff)
* Patch from James Westby to add a template for the search form.
* Cache search form for speedup.
Diffstat (limited to 'doc')
-rw-r--r--doc/patchqueue/make-searchform-template.mdwn13
-rw-r--r--doc/templates.mdwn5
2 files changed, 5 insertions, 13 deletions
diff --git a/doc/patchqueue/make-searchform-template.mdwn b/doc/patchqueue/make-searchform-template.mdwn
deleted file mode 100644
index 97a8b7e11..000000000
--- a/doc/patchqueue/make-searchform-template.mdwn
+++ /dev/null
@@ -1,13 +0,0 @@
-Here is a small patch that adds a new template for the search form.
-
-http://jameswestby.net/scratch/search_template.diff
-
-I wanted this so I could add a label to it easily.
-
-I don't really think there's a problem with doing it except that it makes it
-more easy to break the search box.
-
- Thanks for the patch. The only problem I see is that the template
- is identical but gets rebuilt per-page. Would probably be better to
- build it only the first time, then reuse the rendered text for all
- further pages, to avoid slowing ikiwiki down any. --[[Joey]]
diff --git a/doc/templates.mdwn b/doc/templates.mdwn
index 55e6ec6c8..53b14f9bd 100644
--- a/doc/templates.mdwn
+++ b/doc/templates.mdwn
@@ -29,6 +29,8 @@ It ships with some basic templates which can be customised:
* `rsslink.tmpl` - Used to add a rss link if blogpost.tmpl is not used.
* `aggregatepost.tmpl` - Used by the [[plugins/aggregate]] plugin to create
a page for a post.
+* `searchform.tmpl` - Used by the [[plugins/search]] plugin to add a search
+ form to wiki pages.
If you like, you can add these to further customise it:
@@ -44,3 +46,6 @@ CGI::FormBuilder, which interfaces to HTML::Template, so not all of it can
be customised with templates, although most of it can, by creating these
templates. Without the templates, CGI::FormBuilder creates the page bodies
by itself.
+
+The [[plugin/template]] plugin also uses templates, though those templates
+are stored in the wiki.