1
默認情況下,joomla(2.5)搜索模塊只搜索文章,類別,網頁鏈接等,但我想增強功能,使其從一個組件數據的其中一個搜索表數據離開其他搜索條件。如何執行joomla搜索只有一個組件數據
默認情況下,joomla(2.5)搜索模塊只搜索文章,類別,網頁鏈接等,但我想增強功能,使其從一個組件數據的其中一個搜索表數據離開其他搜索條件。如何執行joomla搜索只有一個組件數據
谷歌搜索和小腦筋急轉彎後,我自己找到解決方案,所以我想分享給你。
In Joomla we have to create a plugin to enhance features of search
module.
If we want that the "search module" to search data from our custom
compenents then we have to create a plugin for that. This link is
very useful while creating a joomla search plugin
"http://docs.joomla.org/Creating_a_search_plugin".
once a plugin is created you need to zip the folder and then upload
your plugin through the joomla "Extension Manager" in the admin
panel.
If you want to have only search criteria from the component and not
articles, weblinks, categories etc "disable" these plugins.