can we hide list
najibx - October 4, 2007 - 08:57
| Project: | Taxonomy Defaults |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
Hi,
Now, I can have the node type to be set automatically with specified term.
Can i just hide this list-down menu (list of the terms) from node creation to avoid confusion to user?

#1
It should be easy to find the CSS ID of the select field and hide it with CSS (display: none).
#2
Thank you. I know, this is not the place to ask CSS tricks, but it might be relevant to "Taxonomy Defaults to be hidden"
I was able to hide the list form. After looking at the HTML source, i come out with the following for my CSS.style in my particular theme. However, it only hide the form but not the "Sites:" text and the row. Yes, the Taxonomy Defaults come into action, accordingly.
.form-item #edit-taxonomy-2 {display: none;
}
#3
+1 for a simple hook_form_alter to remove the term selector from the node edit screen programmatically.
#4
Perhaps http://drupal.org/node/77980 is sufficient. Unfortunately, you have to select at least one node type to satisfy the required property of the node type selection.
#5
No feedback re http://drupal.org/node/77980, closing.
#6
Automatically closed -- issue fixed for two weeks with no activity.