Deutsche Version English Version
Replacement Tags
Content Parts
Links
Imprint
 


Latest Final Version:

phpwcms 1.3.0
RELEASED: 07.03.2007

more...



phpmyfaq - the faq system
phpmyfaq - the faq system
ADS

 
 

English > The Docu > Articles > Content Parts > Search


Content Part "Search"

search.png

results per page (optional): Number of results to be displayed per page. If the field is empty, all results will be displayed on one page. 

open new window (optional): Here you can select that a new window is opened to display the search results. Otherwise the results are returned on the search page. 

template (optional): Here you can enter HTML code in order to override the standard search form layout and define the search form elements individually. Be sure to use the following two substitute symbols, so that the search page functions properly: 

search_input_field for the name of the search input field.
###search_input_action:ARTICLE_ID### for the name of the form action, where ARTICLE_ID is the identification number of the article.


Use as transmission method method="post".
Put the value="" in the search input field, if you
would like for the search word/s to appear on the result page with the query appearing
again in the search input field.

For example, a template could look like this:
<form action="index.php?id=35,7,0,0,1,0" method="post">
<input type="text" name="search_input_field" size="10"
maxlength="250" value="" style="font:
normal 11px/11px sans-serif; border: solid 1px #94A4BF;
background: #727A89; padding: 2px; color: #FFCC00;">
<input type="submit" value="Go" style="font-size:10px;">
</form>
input (optional): Here you can determine what descriptive words appear before the
search input field. If you leave this field empty, nothing appears before the search input field. 

button text (optional): Here you can determine what word/s appear on the button to
initiate the search. If this field empty, "search" will be used by default. 

result (optional): Here you can determine what is to be displayed as the heading for
the search results. If you leave this field empty, only the number of displayed hits will
be shown as the heading, for example 1-10 

style (optional): Here you can designate your own style template for the organization of the search input field, the search button and/or the result heading. Style templates
can only be changed by the administrator. They are discussed in more detail further
down. 

next/previous (optional): Here you can determine what is to be displayed as text for the pre and/or next links for navigating multiple search result pages. 

align: Here you can select how the search form is to be aligned on the article page. 

intro (optional): Here you can enter the text which will to be displayed on the search
page before the search form. 

result (optional): Here you can enter the text which will be displayed on the result page before the search input field. 

no result (optional): Here you can enter the text which will be displayed before the
search input field if a search returns no results.

 


Article created: 2004/08/16 Last Changes: 2005/06/25
 
In case you find any mistakes or have enhancments, please use this form .

Have you found this website a helpful resource in understanding the Phpwcms content management system? If so, would you consider making a donation? Please click here: PayPal. We welcome any donation amount. Your contribution helps make this website an even better resource and helps underwrite the associated server expenses of accomodating a growing number of visitors.
This page use the version: