简体   繁体   English

在joomla中创建2个com_search菜单项

[英]Creating 2 com_search menu Items in joomla

I have 2 separate modules for search in joomla ... I want to create 2 com_search menu items and change based on which page these modules are called. 我在joomla中有2个单独的搜索模块...我想创建2个com_search菜单项并根据调用这些模块的页面进行更改。

How do I get this to work with / without programming.. 如何在不进行编程的情况下使用它。

If you have already made two modules you should be able to edit each one in the Modules Manager and choose which pages it loads on. 如果已经制作了两个模块,则应该能够在“模块管理器”中编辑每个模块,然后选择要加载的页面。

Say you wanted them to both load in the same position, you could tick the homepage for one, save and close it, then open the other and tick all the pages but the homepage. 假设您希望它们都加载在同一位置,则可以在主页上打勾,保存并关闭,然后打开另一个并打勾除主页以外的所有页面。 This way when you looked at the website one search box would show at a time. 这样,当您查看网站时,将一次显示一个搜索框。

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

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