Closed (fixed)
Project:
Taxonomy Browser
Version:
4.6.x-1.x-dev
Component:
User interface
Priority:
Critical
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
1 Jun 2005 at 15:28 UTC
Updated:
1 Jun 2005 at 15:44 UTC
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
Comment #1
Patrick Nelson commentedScratch 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.
Comment #2
moshe weitzman commented