Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
Have you looked at the CCK content permissions module? If users don't have permission to view a field, they shouldn't be able to search on it either (or so I assume).
You can do this now using CCK 2 for Drupal 6... just go to the "Display fields" section for the content type and under the "search" tab you'll see the option to exclude.
Comments
Comment #1
deviantintegral commentedHave you looked at the CCK content permissions module? If users don't have permission to view a field, they shouldn't be able to search on it either (or so I assume).
--Andrew
Comment #2
Mark Theunissen commentedYou can do this now using CCK 2 for Drupal 6... just go to the "Display fields" section for the content type and under the "search" tab you'll see the option to exclude.