Search and the modules parameter Topic is solved

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
webform
Power Poster
Power Poster
Posts: 460
Joined: Sat Nov 25, 2006 3:39 pm
Location: Copenhagen, Denmark

Search and the modules parameter

Post by webform »

I'm trying to set up the Search module to limit its search to selected LISE modules plus page content, but it seems that content module is ignored if I include it in the search modules parameter:

Code: Select all

{Search modules='content,LISEProjects,LISENews,LISEDepartments' resultpage='search-result'}
{$entry->module} does output "content" as module name in the search result template, but do i have to use another name or filter in the foreach to get it to work?
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3484
Joined: Mon Nov 28, 2011 9:29 am
Location: The Netherlands

Re: Search and the modules parameter

Post by velden »

Try 'Search' as the module name.
webform
Power Poster
Power Poster
Posts: 460
Joined: Sat Nov 25, 2006 3:39 pm
Location: Copenhagen, Denmark

Re: Search and the modules parameter

Post by webform »

Thanks Velden, that works just perfectly!

Code: Select all

{Search modules='Search,LISEProjects,LISENews,LISEDepartments' resultpage='search-result'}
Post Reply

Return to “CMSMS Core”