定制 jambagecom/macina-searchbox 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

Latest Stable Version Total Downloads Monthly Downloads

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.

  URL
Repository: https://github.com/franzholz/macina_searchbox/
Read online: https://github.com/franzholz/macina_searchbox/
TER: https://extensions.typo3.org/extension/macina_searchbox/
Box on all pages: https://stackoverflow.com/questions/49363731/how-to-display-search-box-in-all-the-frontend-page-sidebar-typo3

统计信息

  • 总下载量: 2.44k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 2
  • Forks: 1
  • 开发语言: HTML

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2020-01-15

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固