尝试对分面搜索结果进行样式设置,但关键字搜索未进行样式设置
分面搜索设置为按 4 个词汇进行过滤,每个词汇包含 100 多个术语。这些词汇仅附加到特定的内容类型。
使用分面搜索时,我可以使用引导搜索来缩小结果范围,并且可以对这些结果进行样式设置。当我输入诸如taxonomy%609之类的关键字(这是我单击相关分类法时发出的参数)时,会应用该样式,因为结果是与结果视图中使用的类一起输出的(semanticviews-view-fields-- VIEW-NAME.tpl.php),基本关键字搜索(例如“the”)会带来大量结果,但它们的样式使用(似乎是)基本搜索结果页面的类。
为什么会发生这种情况?我可以调用 tpl 来覆盖此行为吗?
The faceted search is set up to filter by 4 vocabs each with 100+ terms inside. These vocabs are only attached to a specific content type.
When using faceted search i can use the guided search to narrow down my results and these can be styled. When i enter a keyword such as taxonomy%609 which is an argument which is issued when i click on the related taxonomy, the style is applied because the results are outputted with the classes used in the results view (semanticviews-view-fields--VIEW-NAME.tpl.php), a basic keyword search such as "the" brings up loads of results but they are styled using ( what seems to be ) the classes of a basic search results page.
Why is this happening? Is there a tpl i can call to overwrite this behavior?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Devel Themer 模块 对于确定如何覆盖站点的特定部分非常有用。它将告诉您当前正在使用哪些主题功能或模板文件以及覆盖它们的选项。
The Devel Themer module is useful for determining how to override a particular part of a site. It will tell you what theme functions or template files are currently being used and what your options are for overriding them.