Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我编写了一个自定义组件,其中列出了一系列产品。我创建了一个与组件集成的复杂搜索模块。现在,当我输入搜索时,生成的 url 类似于:www.site.com/component/com_mycomp/?view=item&layout=list&categories[]=12&categories[]=5&etc.etc。
问题在于,我将其他几个模块配置为“在除...之外的所有页面上可见”,这些模块未显示在此页面上,但它们应该显示。我该如何解决?
您需要的是一个菜单链接和一个关联的 itemid 来完成这项工作,然后在 url 中引用它:
www.site.com/component/com_mycomp/?view=item&itemid=[new-item-id-#-from-menu]&categories[]=12&categories[]=5&etc.etc.