Hi,

Love the taxonomy browser - extremely useful. Have an "urgent" feature request though. Is there some way to control the content types that are listed on every page?

There are certain content types that I don't want standard users to be able to search (or even see), for example, mail. We (sysads) are the only ones that use the mail module - in order to tell site users about updates, etc., so having it as a searchable item is not ideal (because standard users can search and see mails sent only to premium users).

Is there a quick way to either control what appears in the list or remove the list altogether?

Regards

Pat

Comments

Patrick Nelson’s picture

Scratch that, I've sorted it. If anyone else wants to know how to do this, all I did was comment out the lines below:

/* foreach (node_list() as $type) { */
/* $node_filter[] = l(node_invoke($type, 'node_name'), "taxonomy_browser/$type"); */
/* } */
/* $output .= form_item(t('Restrict search by content type'), theme('links', $node_filter)); */

Hope this is of some use to someone.

moshe weitzman’s picture