GROUP search to include group discussions code...?
Installation and Configuration
Strumelia:.....I would like the search on the Groups Home page to yield search term results from searching Group Titles AND Group discussions...
When we added search to the index.tpl files of all the modules, the code used was:
{jrSearch_module_form fields="blog_title,blog_text"}Thats from the blog index.tpl file:
/modules/jrBlog/templates/index.tpl
(or coming via the ACP template editor)
ACP -> PROFILES -> BLOG -> TEMPLATES -> index.tpl
You can see that working here:
https://www.jamroom.net/blog/
The search box only searches for the fields listed. You can use the fields you need.
-- edit --
Not sure if its obvious or not, so..... to change that to what your after, you would locate the fields you're interested in in the datastore, (every module has a datastore browser in the TOOLS tab of the ACP)
They will probably be (I haven't got groups data in my dev machine right now) group_title and group_discuss so:
{jrSearch_module_form fields="group_title,group_discuss"}updated by @michael: 03/03/15 08:50:10PM
