kronova/pr-googlecse
Composer 安装命令:
composer require kronova/pr-googlecse
包简介
Frontend search plugin that uses the Google CSE api.
README 文档
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.
统计信息
- 总下载量: 1.37k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2020-03-02