gpt4 book ai didi

search - 表达式引擎 : search in grid-fields does not work

转载 作者:行者123 更新时间:2023-12-04 18:08:26 25 4
gpt4 key购买 nike

我用一个包含两列问题和答案的网格构建了我的常见问题解答部分。我没有从条目中的网格字段中获得搜索结果。所以很遗憾,我的问题无法搜索到......

在字段组中,网格字段本身和所有网格列都标记为可搜索。

搜索表单有 search_in="everywhere"并且所有 channel 都已激活。

结果代码是

    <p>Keyword: {exp:search:keywords} - {exp:search:total_results}{total_results}{/exp:search:total_results}</p>  
<ul>
{exp:search:search_results}
<li><a href="{auto_path}">{title}{grid_budgetgruppen}</a></strong> from <em>{channel}</em><br/>{excerpt}<br/></li>
{/exp:search:search_results}
</ul>

所有其他内容都会给出正确的结果。

知道哪里出了问题吗?

最佳答案

请记住将该字段及其至少一列设置为可搜索。所选列的值将连接到专门要搜索的数据库列上。

关于search - 表达式引擎 : search in grid-fields does not work,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20471040/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com