[open-ils-commits] [GIT] Evergreen ILS branch rel_2_3 updated. 0fd2f90265277545e6836e0157b4e1f38bcf9872

Evergreen Git git at git.evergreen-ils.org
Thu Aug 23 22:14:42 EDT 2012


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, rel_2_3 has been updated
       via  0fd2f90265277545e6836e0157b4e1f38bcf9872 (commit)
       via  df7a3d85fe3e028c8718c7c92d1e0fe7cd588ef4 (commit)
      from  0b658ffde3006abb3077c8b0b0b0c1e45dc753ed (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 0fd2f90265277545e6836e0157b4e1f38bcf9872
Author: Dan Scott <dscott at laurentian.ca>
Date:   Thu Aug 23 21:12:40 2012 -0400

    Document how to create a TPAC/KPAC search box
    
    Now that we're in the land of the TPAC, it's time to ensure that
    everyone can update their simple search boxes so that they no longer
    point at the JSPAC and point at the TPAC or Kid's OPAC instead.
    
    Signed-off-by: Dan Scott <dscott at laurentian.ca>

diff --git a/docs/opac/search_form.txt b/docs/opac/search_form.txt
new file mode 100644
index 0000000..182c494
--- /dev/null
+++ b/docs/opac/search_form.txt
@@ -0,0 +1,28 @@
+Adding an Evergreen search form to a web page
+=============================================
+
+To enable users to quickly search your Evergreen catalog, you can add a
+simple search form to any HTML page. The following code demonstrates
+how to create a quick search box suitable for the header of your web
+site:
+
+.Sample search form
+[source,html]
+------------------------------------------------------------------------------
+<form action="http://example.com/eg/opac/results" method="get">    <!-- <1> -->
+    <input type="search" alt="Catalog Search" maxlength="200"
+            size="20" name="query"
+            placeholder="Search catalog for..." />
+    <input type="hidden" name="qtype" value="keyword" />           <!-- <2> -->
+    <input type="hidden" name="locg" value="4" />                  <!-- <3> -->
+    <input type="submit" value="Search" />
+</form>
+------------------------------------------------------------------------------
+<1> Replace ''example.com'' with the hostname for your catalog. To link to
+    the Kid's OPAC instead of the TPAC, replace ''opac'' with ''tpac''.
+<2> Replace ''keyword'' with ''title'', ''author'', ''subject'', or ''series''
+    if you want to provide more specific searches. You can even specify
+    ''identifier|isbn'' for an ISBN search.
+<3> Replace ''4'' with the ID number of the organizational unit at which you
+    wish to anchor your search. This is the value of the ''locg'' parameter in
+    your normal search.
diff --git a/docs/root.txt b/docs/root.txt
index a892b23..caf366f 100644
--- a/docs/root.txt
+++ b/docs/root.txt
@@ -302,6 +302,15 @@ include::opac/my_lists.txt[]
 
 include::opac/kids_opac.txt[]
 
+// Push titles down one level.
+:leveloffset: 1
+
+include::opac/search_form.txt[]
+
+// Return to normal title levels.
+:leveloffset: 0
+
+
 Developer Resources
 ===================
 

commit df7a3d85fe3e028c8718c7c92d1e0fe7cd588ef4
Author: Dan Scott <dscott at laurentian.ca>
Date:   Thu Aug 23 21:14:02 2012 -0400

    Resolve doc PDF transform error
    
    The doc build gets angry when a target that does not exist is linked
    from somewhere else in the docs. So, make the target exist.
    
    Signed-off-by: Dan Scott <dscott at laurentian.ca>

diff --git a/docs/reports/reporter_template_terminology.txt b/docs/reports/reporter_template_terminology.txt
index bb482b0..2cba161 100644
--- a/docs/reports/reporter_template_terminology.txt
+++ b/docs/reports/reporter_template_terminology.txt
@@ -40,6 +40,7 @@ could do a count on the Patron link data.
 |money	|Number (in dollars)	 
 |=====================================
 
+[[field_transforms]]
 Field Transforms
 ~~~~~~~~~~~~~~~~
 

-----------------------------------------------------------------------

Summary of changes:
 docs/opac/search_form.txt                      |   28 ++++++++++++++++++++++++
 docs/reports/reporter_template_terminology.txt |    1 +
 docs/root.txt                                  |    9 +++++++
 3 files changed, 38 insertions(+), 0 deletions(-)
 create mode 100644 docs/opac/search_form.txt


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list