D6 Views "Page Display" not listed in other Views where nodes of type page selected

Events happening in the community are now at Drupal community events on www.drupal.org.
mobcdi's picture

What s the easiest way to exclude certain content types from search results in D6 or is it possible to have customised indexes based on security role membership so if a user isn't a member of a certain group they wouldn't see certain content types but would still be able to search?

Comments

Lots of questions thrown in

alanburke's picture

Lots of questions thrown in together here.

To exclude an item from a search result, you could write a small custom module and use hook_nodeapi to remove it.
http://api.drupal.org/api/function/hook_nodeapi/6

I'd have to test this, but if a user doesn't have permission to view an item, it shouldn't show in a search result anyway.

Ireland

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: