






International Sites:
|
|
PrintSearchForm (Advanced or higher)
Outputs a search form at the current template position using an optional configuration set.
function PrintSearchForm ($sConfigSet="",$sDefaultSearchString="-1")
Outputs a simple search from with an input field and a button. After pushing the button, a new page is loaded and the input search item is passed. You can output the search result in the target template with the template function "PrintSearchArticles". The search form is formatted from a table with one line and two cells ( the input field is in the left cell and the button is in the right cell).
The parameter $sConfigSet defines an optional configuration set in which several parameters of the form can be defined like – for instance – the length of the input field and the text or an alternative graphic for the button.
The optional parameter $sDefaultSearchString defines a text which shall appear in the search-input field per default setting. If the parameter is not passed, a search string which has been passed to the page, is passed instead. This behaviour makes sense, if the function PrintSearchForm is used on the result page as well, since the previously used search item appears in the input field per default setting. This behaviour can be redefined by an empty text string or by a different input text.
[Back] -
[Bookmark] -
[Optimized for Printing] - [Send by E-mail] - [Contact]
Copyright © 2000-2002 by Portunity GmbH (Germany) - All rights reserved.
|
|


Direct links to the new Portalsuite 2002:
- Productinfos
- Download
- Support overview
- Support forum
|