kronova / pr-googlecse
Frontend search plugin that uses the Google CSE api.
Installs: 1 332
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 2
Type:typo3-cms-extension
Requires
- typo3/cms-core: ^10.0 || ^11.5
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.2
- roave/security-advisories: dev-latest
README
This is a TYPO3 Extension for using Google Custom Search Engine in combination with Fluid Templates.
Install the extension
Using TYPO3 extension manager
- Open TYPO3 extension manager
- Switch at the top left to "Get extensions"
- Search for pr_googlecse
- Click install
Using composer
Login via SSH, go to your TYPO3 root and run the following command:
composer require kronova/pr-googlecse
Configure the extension
General settings
- Open the extension manager
- Search for "pr_googlecse"
- Click on the settings icon on the right
- Enter your Google API key (you can get it from https://console.developers.google.com/apis/)
- Enter the key of your custom search (you can get it from https://cse.google.com/cse/)
- Enable/disable caching if you want
- Save your changes
Frontend plugin
- Choose or create the page where the search should be embedded
- Open the template module
- Edit the existing or create a new extension template
- Go to includes and include the pr_googlecse static template
- Save and exit
- Open the page view module
- Add content > Plugins > Google custom search engine
- Save your changes
Currently there are no more settings. Feel free to add issue tickets for feature requests.
Customize the extension
Use own templates
It´s like many other extensions. You can add your own fluid templates by adding your own paths to the TypoScript
Constants:
plugin.tx_prgooglecse.view.templateRootPath = EXT:your_ext/Resources/Private/Templates
plugin.tx_prgooglecse.view.layoutRootPath = EXT:your_ext/Resources/Private/Templates
plugin.tx_prgooglecse.view.partialRootPath = EXT:your_ext/Resources/Private/Templates
Override default CSS
You can override the following field: plugin.tx_prgooglecse._CSS_DEFAULT_STYLE
Support
You can either open an issue ticket if you wan´t to discuss about a feature request, problem or you can use the contact form on my website https://kronova.net/contact.html for other stuff.