03.02.2014 Views

Search | Content Part "Search" - phpWCMS{/docu}

Search | Content Part "Search" - phpWCMS{/docu}

Search | Content Part "Search" - phpWCMS{/docu}

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Content</strong> <strong>Part</strong> "<strong>Search</strong>"<br />

results per page (optional): Number of results to be displayed per page. If the field is empty, all results will<br />

be displayed on one page.<br />

open new window (optional): Here you can select that a new window is opened to display the search<br />

results. Otherwise the results are returned on the search page.<br />

template (optional): Here you can enter HTML code in order to override the standard search form layout<br />

and define the search form elements individually. Be sure to use the following two substitute symbols, so that<br />

the search page functions properly:<br />

search_input_field for the name of the search input field.<br />

###search_input_action:ARTICLE_ID### for the name of the form action, where ARTICLE_ID is the<br />

identification number of the article.<br />

Use as transmission method method="post".<br />

Put the value="" in the search input field, if you<br />

would like for the search word/s to appear on the result page with the query appearing<br />

again in the search input field.<br />

For example, a template could look like this:<br />

input (optional): Here you can determine what descriptive words appear before the<br />

search input field. If you leave this field empty, nothing appears before the search input field.<br />

1/2


utton text (optional): Here you can determine what word/s appear on the button to<br />

initiate the search. If this field empty, "search" will be used by default.<br />

result (optional): Here you can determine what is to be displayed as the heading for<br />

the search results. If you leave this field empty, only the number of displayed hits will<br />

be shown as the heading, for example 1-10<br />

style (optional): Here you can designate your own style template for the organization of the search input<br />

field, the search button and/or the result heading. Style templates<br />

can only be changed by the administrator. They are discussed in more detail further<br />

down.<br />

next/previous (optional): Here you can determine what is to be displayed as text for the pre and/or next<br />

links for navigating multiple search result pages.<br />

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

intro (optional): Here you can enter the text which will to be displayed on the search<br />

page before the search form.<br />

result (optional): Here you can enter the text which will be displayed on the result page before the search<br />

input field.<br />

no result (optional): Here you can enter the text which will be displayed before the<br />

search input field if a search returns no results.<br />

URL: http://www.phpwcms-<strong>docu</strong>.de/index.php?content_part_search<br />

2/2

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!