This shows you the differences between two versions of the page.
search_form [2013/06/09 17:34] Christoph M. Becker created |
search_form [2013/06/09 17:46] Christoph M. Becker fixed broken markup |
||
---|---|---|---|
Line 4: | Line 4: | ||
<code=html><?php echo searchbox();?></code> | <code=html><?php echo searchbox();?></code> | ||
- | Using the search form will search the complete content of all pages and return a list of pages where *all* words given in the search form are contained((this is so since CMSimple_XH 1.5; formerly the search string was treated verbatim)). | + | Using the search form will search the complete content of all pages and return a list of pages where **all** words given in the search form are contained((this is so since CMSimple_XH 1.5; formerly the search string was treated verbatim)). |
Since CMSimple_XH 1.5 all [[cmsimple_scripting#the_plugin_call|plugin calls]] are evaluated before the search is run. However, [[cmsimple_scripting#cmsimple_scripting|CMSimple scripting]] is not evaluated, as this might trigger undesired behavior such as [[cmsimple_scripting#redirect_page|page redirection]] even when this is done via the respective page data tab. If you want to offer the search form on your website, make sure that none of the plugin calls has such undesired side effects. | Since CMSimple_XH 1.5 all [[cmsimple_scripting#the_plugin_call|plugin calls]] are evaluated before the search is run. However, [[cmsimple_scripting#cmsimple_scripting|CMSimple scripting]] is not evaluated, as this might trigger undesired behavior such as [[cmsimple_scripting#redirect_page|page redirection]] even when this is done via the respective page data tab. If you want to offer the search form on your website, make sure that none of the plugin calls has such undesired side effects. | ||
Alternatives to the built-in search form are [[extend:advanced_search_xh|Advancedsearch_XH]] and the [[http://www.google.com/cse/|Google Custom Search Engine]]. | Alternatives to the built-in search form are [[extend:advanced_search_xh|Advancedsearch_XH]] and the [[http://www.google.com/cse/|Google Custom Search Engine]]. |