Adding search to the web page

Then, the extension is adjusted for our needs, which we can add in to the web page. You can add search functions like most of the extensions in TYPO3.

You need to create a new page or choose an existing page and add a General Plugin, as you can see in the following screenshot:

Adding search to the web page

Choose "Indexed Search Engine" and save a new record. Visit your page from the FE side and test the new form in action.

Note that by default if you use the "indexed_search"extension indexing page, then you overlook these pages from the FE side. Therefore, the pages indexing takes place while you overlook, unless you are logged in to the back end. If you are logged in to the backend, your browsing of the frontend pages will not be indexed.

Adding search to the web page

Using tt_products search, the extension template part ###ITEM_SEARCH### will be used:

<!-- ###ITEM_SEARCH### begin -
<form method="post" action="###FORM_URL###">
<INPUT size="30" maxlength="100" type="text" name="sword" value="###SWORD###"/>
<input type="submit" name="order" value="Search"/>
</form>
<!-- ###ITEM_SEARCH### end -->

You should remember that this search field will not be used together or as a part of the indexed_search. Therefore, you can only use this field for a product item search.

If you need to use this searching form, add it into the page where the search is needed:

Adding search to the web page

Specify the searching result page with TypoScript configuration; this will display the funded products and which fields will be used for the search.

plugin.tt_products.stdSearchFieldExt = title,subtitle,itemnumber
plugin.tt_products.PIDsearch = 8

Also, there is an alternative method; you can use the extension "indexed_search" together with the extension "crawler" on the understanding that you have SHELL/SSH command line access to your server. This way you could indicate forcibly a cHash value for table records, because tt_products does not offer this function at the moment.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.142.121.153