繁体   English   中英

如何在TYPO3中使用Indexed_search

[英]How to use Indexed_search with TYPO3

我搜索在版本6.2上使用TYPO3的modul indexed_search。

我找到了一些教程,但是当我尝试它们时,搜索框出现了,但我没有结果。 只有我放入ID的页面不变:

plugin.tx_indexedsearch.searchUID = 9

编码 :

  TEST < lib.searchbox


TEST = COA_INT
  TEST {
    stdWrap.prefixComment = 2 | lib.searchbox
    10 = TEXT
    10.typolink.parameter = {$plugin.tx_indexedsearch.searchUID}
    10.typolink.returnLast = url
    10.wrap = <div id="indexedsearchbox"><form action="|" method="post" id="indexedsearch"><table cellpadding="0" cellspacing="0" border="0">
    20 = COA
    20 {
      wrap = <tr> | </tr>
      10 = TEXT
      10.htmlSpecialChars = 1
      10.data = GPvar : tx_indexedsearch |sword
      10.wrap = <td><input name="tx_indexedsearch[sword]" value="|" class="searchbox-sword" type="text" /></td>
      20 = COA
      20 {
        wrap = <td align="right">&nbsp;|</td>
        10 = TEXT
        10.value = <input type="hidden" name="tx_indexedsearch[sections]" value="0" />
        20 = TEXT
        20.value = <input name="tx_indexedsearch[submit_button]" value="Search" type="hidden" />
        30 = TEXT
        30.value = <input name="search" src="fileadmin/templates/image/Search.png" value="Search" class="searchbox-button" type="image" />
      }
    }
    30 = COA
    30 {
      wrap = <tr>|</tr>
      10 = TEXT
      10.value = Advanced search »
      10.typolink.parameter = {$plugin.tx_indexedsearch.searchUID}
      10.typolink.additionalParams = &tx_indexedsearch[ext]=1
      10.wrap = <td align="right" colspan="2">|</td>
      if.isTrue = {$plugin.tx_indexedsearch.showAdvanced}
    }
    wrap = | </table></form></div>
  }

这是一个愚蠢的想法,但我没有为插件Indexed_Search创建记录。 那么,对你而言,我把我们如何做到这一点(我长时间搜索......)

1)转到后端区域的搜索页面(此处为id = 9)。

2)创建一个新记录,然后在选项卡插件中选择General Plugin

3)在选项卡插件中选择插件Indexed_Search

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM