Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/heimrichhannot/contao-search_plus
Extend the contao core search, to achieve more features like pdf search.
https://github.com/heimrichhannot/contao-search_plus
Last synced: about 1 month ago
JSON representation
Extend the contao core search, to achieve more features like pdf search.
- Host: GitHub
- URL: https://github.com/heimrichhannot/contao-search_plus
- Owner: heimrichhannot
- Created: 2015-07-16T10:43:44.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2020-11-12T07:37:37.000Z (about 4 years ago)
- Last Synced: 2024-07-17T21:18:20.776Z (5 months ago)
- Language: PHP
- Size: 66.4 KB
- Stars: 1
- Watchers: 10
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Search Plus
> **Notice:** This bundle is not activly maintained anymore! Please refere to out [Search Bundle](https://github.com/heimrichhannot/contao-search-bundle) for contao 4 and new features!
Extend the contao core search, to achieve more features like pdf search.
## Features
- pdf search
- filter pages for search frontend module
- Support Access-Control-Allow-Origin within be_rebuild_index.html5### Dependencies
Don't worry, install via composer and all dependencies will be resolved like magic.
- [smalot/pdfparser] (https://github.com/smalot/pdfparser)
### PDF Search
- index pdf files that are referenced inside searched pages and must be locally (contao filesystem) stored
- parse pdf files with smalot/pdfparser
- make usage of meta information from tl_files to provide better file titles (consider language too)
- group the results in the result list
- select the search order (show pages first, show files first or by relenvance)## Usage
### Install
Add following line to your composer.json required section:
"heimrichhannot/contao-search_plus" : "^1.0"
You can also add the package via commandline:composer require heimrichhannot/contao-search_plus
### Templates
~~You need to add two templates: `mod_search_simple` and `mod_search_advanced`. In your `mod_search` template you need to add `form ?>` to output the correct search form template.~~ No needed anymore for contao 4.x from version 1.2.
### Settings
You can disable PDF search on the Contao setting page. If enabled, an option to set the maximum pdf size to parse, is given.
## Credits
The contao 4.x compatibility changes were sponsored by fanthomas communications.