jambagecom/macina-searchbox
Composer 安装命令:
composer require jambagecom/macina-searchbox
包简介
This extension offers the possibility to add a configuration for the searchbox as a TypoScript plugin on all pages which submits the searchvalue to the Indexed Search Engine plugin.
关键字:
README 文档
README
TYPO3 Extension macina_searchbox
This extension offers the possibility to add a searchbox to your TYPO3 powered website which submits the searchvalue to the Indexed Search Engine plugin. The extension macina_searchbox brings a an easier way to insert a searchbox for Indexed Search on every page. It has a Fluid template which is easy to modify and supports multiple languages. Use the plugin of Indexed Search. This extension is useful to have a Fluid template which will not show the search results.
User
TypoScript:
lib.macina_searchbox = USER
lib.macina_searchbox {
userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run
extensionName = IndexedSearch
vendorName = TYPO3\CMS
pluginName = Pi2
features =< plugin.tx_indexedsearch.features
view =< plugin.tx_indexedsearch.view
view.partialRootPaths.10 = EXT:macina_searchbox/Resources/Private/Partials/
view.templateRootPaths.10 = EXT:macina_searchbox/Resources/Private/Templates/
settings =< plugin.tx_indexedsearch.settings
settings {
targetPid = {$lib.macina_searchbox.pidSearchpage}
displayAdvancedSearchLink = 1
blind.numberOfResults = 0
}
}
CSS:
You can use these CSS settings in order to get the same output as in old versions of macina_searchbox.
.tx-indexedsearch-searchbox fieldset {
border:none;
padding:0 0 10px 0;
margin:0;
}
.tx-indexedsearch-form {
float: left;
}
.tx-indexedsearch-search-submit {
float: right;
}
Administrator
Insert the setup of Indexed Search (indexed_search) and then of Macina Searchbox (macina_searchbox) from “include static (from extensions)” and insert an Indexed Search plugin. The Indexed Search setup must be before Macina Searchbox. Do not use the plugin of macina_searchbox! This has been changed from the older versions and the outdated documentation!
By this method the setup will be available in your TypoScript. Then you can modify the setup to your own template files which you change to your needs.
Then in your template add this:
<f:cObject typoscriptObjectPath="lib.macina_searchbox" />
or alternatively:
page.10.marks.LEFT < lib.macina_searchbox
Contributions
This git version is published under TYPO3 Extension Repository. You are invited to give comments and to make bug reports on this Github repository.
jambagecom/macina-searchbox 适用场景与选型建议
jambagecom/macina-searchbox 是一款 基于 HTML 开发的 Composer 扩展包,目前已累计 2.44k 次下载、GitHub Stars 达 1, 最近一次更新时间为 2020 年 01 月 15 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「search」 「extension」 「typo3」 「indexed」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 jambagecom/macina-searchbox 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 jambagecom/macina-searchbox 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 jambagecom/macina-searchbox 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
A Laravel package to retrieve data from Google Search Console
A custom URL rule class for Yii 2 which allows to create translated URL rules
Set Links with a specific language parameter
Indexed Search Autocomplete - Extends the TYPO3 Core Extension Indexed_Search searchform with an autocomplete feature.
The Yii2 extension uses jQuery jquery.carousel-1.1.min.js and makes image carousel from php array of structure defined.
Abstraction Layer to index and search entities
统计信息
- 总下载量: 2.44k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2020-01-15