O'Reilly logo

Mastering TypoScript: TYPO3 Website, Template, and Extension Development by Daniel Koch

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Integrating the Extended Search

Simple search is normally sufficient for most websites. But if you want to give your users more, check out the Indexed Search Engine front end. It not only allows you to use logical operators like AND/OR, but also gives you the option of searching through Word, PDF, and other types of documents.

Before you start, an important tip about something that is all too often forgotten: You also have to prepare the HTML template for the search. The search automatically includes the contents of<title>, the description and keywords of both<meta> tags and the content of the<body> tag. There are two markers that let you define any parts that you want to index inside the<body> tag:

<!--TYPO3SEARCH_begin--> #Content to be indexed ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required