【发布时间】:2023-03-15 11:19:02
【问题描述】:
我正在使用typo3 安装。版本 9.5.8。我在每个页面上都有一个搜索字段。当在字段中输入一个值并单击搜索按钮时,我最终会进入主搜索页面(在我的情况下为 ID 255)。在该页面上,我搜索的值显示在主搜索的搜索字段中,但没有执行搜索,也没有显示任何结果。用户必须再次单击该页面上的搜索按钮才能看到任何结果。为什么没有执行搜索?
我在每个页面上的搜索字段都包含以下 html 代码:
<form action="###URL###" id="tx_indexedsearch" method="post">
<fieldset>
<input type="hidden" name="tx_indexedsearch_pi2[__referrer][@controller]" value="Search">
<input type="hidden" name="tx_indexedsearch_pi2[__referrer][@action]" value="search">
<input class="tx-indexedsearch-searchbox-sword" id="tx-indexedsearch-searchbox-sword" type="text" name="tx_indexedsearch_pi2[search][sword]" value="###VALUE###" />
<input class="tx-indexedsearch-searchbox-button" id="tx-indexedsearch-searchbox-button-submit" type="submit" value="Search" name="tx_indexedsearch_pi2[search][submitButton]">
</fieldset>
我需要发送什么值才能执行搜索?
【问题讨论】:
标签: php typo3 tx-indexed-search