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
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

Rowanw - October 4, 2007 - 09:01

It should be easy to find the CSS ID of the select field and hide it with CSS (display: none).

#2

najibx - October 5, 2007 - 03:49

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

NikLP - October 5, 2007 - 15:53

+1 for a simple hook_form_alter to remove the term selector from the node edit screen programmatically.

#4

Heine - October 8, 2007 - 07:43

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

Heine - January 27, 2008 - 08:04
Status:active» fixed

No feedback re http://drupal.org/node/77980, closing.

#6

Anonymous (not verified) - February 10, 2008 - 08:11
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.