Hi!
I use CMSMS and the Search Module. Because I have a protected area which i don´t want the search to find, i added Tag to the pages which should not be indexed. This works fine, and the search only finds results on the "free to view" pages.
Now i´m trying to solve the following problem: Once the user is logged in, the search should also worked for the NotSearchable Pages. I had a look on the MySQL tables and thought about saving NotSearchable Pages into another table, but this figured out to be very problematically.
Maybe there is already a module, that allows this way of search?
Best,
Jon
Force the search module to search only custom pages
Re: Force the search module to search only custom pages
Hi,
I know I am answering to an old post but thought it relevant to my problem.
I have pages that are only accessed via the FEU and don't want these displayed in a search result.
In the page options I unchecked the 'this page is searchable' option, which seems to work for most sections except the Calendar.
I have a calendar on of the hidden pages with the names and birthdays of children in my Sunday school. For obvious reasons I would like this protected and accessed only by certain members.
It seems that I can stop the content of the page being searchable but not the content of the CalGuys Calendar.
I believe this is because they are child pages of the main page.
Does anyone know how I can block this information being displayed?
Thanks
I know I am answering to an old post but thought it relevant to my problem.
I have pages that are only accessed via the FEU and don't want these displayed in a search result.
In the page options I unchecked the 'this page is searchable' option, which seems to work for most sections except the Calendar.
I have a calendar on of the hidden pages with the names and birthdays of children in my Sunday school. For obvious reasons I would like this protected and accessed only by certain members.
It seems that I can stop the content of the page being searchable but not the content of the CalGuys Calendar.
I believe this is because they are child pages of the main page.
Does anyone know how I can block this information being displayed?
Thanks
Re: Force the search module to search only custom pages
Charmie, I can't help with your problem. But for the OP, I would think you could use an if/then statement in your template, something like
{if !$ccuser->loggedin()}
{/if}
(you'll have to play with the syntax, since the above is almost certainly not correct)
{if !$ccuser->loggedin()}
{/if}
(you'll have to play with the syntax, since the above is almost certainly not correct)

