Page 1 of 1

Search module and restricted pages

Posted: Thu Mar 01, 2012 9:12 am
by liomry
Hi All,

Firstly I have to say I'm in love with CMSMS. I discovered it a month ago and it's made my life so much easier since I'm usually asked to do a "small site" once a month or so.

Onto the question - Is there any way to have two result sets for the search module? Say if I'm not logged in I get set A and if I'm logged in I get set B, set A being a subset of B and not containing any pages with "restricted" set as the extra1 attribute?

Now I have the restricted pages set up to be inaccessible if you're not logged in and to hide the navigation tabs for restricted pages. Currently restricted pages are excluded from search. I'm pretty good with php but I'm still coming to grips with smarty and CMSMS so I'm lost on where to begin here.

To explain the need for this - my site contains tech support info for end-users but also contains info for tech support reps, including some sensitive information about server layouts etc. Since the site will have many different articles the search feature is highly desirable for both user groups.

Any gurus out there able to suggest a way to achieve this? Maybe installing two different search modules and indexing the pages separately?