drupal-6


How can I hide the taxonomy field for authenticated users but show it for other users in Drupal 6?


I have a Drupal (v6.17) Content Type which includes a Taxonomy field. I want to hide this from ordinary Authenticated Users, but want it available to my Site Contributor role users, so they can review and then assign tags to user-created nodes.
I've tried overriding the Node Add/Edit form in Panels 3 by creating a panel variant especially for Authenticated Users, which would exclude the Taxonomy field. However, the Taxonomy field is bundled in with the "General Form" controls - without showing this, I don't get the Title and Body fields.
Is there a way I can either include the Title and Body fields without Taxonomy, OR hide just the Taxonomy field when the authenticated user role creates a node.
I realise there's a CCK field which might be able to help me out here, but how do I tie that to the Taxonomy module?
Any help gratefully received.
here is a solution that worked for me.
I use the content taxonomy cck field for taxonomy in custom CCK content type. So I can use the CCK field permission module (comes bundled with CCK) to show/hide the field based on the user role.
Content taxonomy can save terms to the field table and/or to the taxonomy table(s). It also comes with different input widgets beside checkbox and select.
Regards
Mike

Related Links

drupal 6 multitab with ajax content
How to place a cck field inside a fieldset?
How to display the maxlength countdown remaining characters for custom form fields
How to put the field label inside the form select field?
Symbol “?” in alias or Dirty url
hook_comment not modifying data
How to use php session in drupal 6
Drupal 6, Create a form in a node which save data to another content type (cck)
Synchronize language switcher with language from user profile
How to replace fckeditor with CKeditor?
rel=nofollow does not add to the links in my CCK field
Get term name by term id
Custom Contact Form on a Drupal CCK Node
Drupal 6, FAPI form submitted twice, why?
problem with notifications module in drupal
drupal 6, FAPI, many instances of the same form in the same page but only the first is submitted

Categories

HOME
vim
keycloak
homebrew
q
amortized-analysis
malloc
c#-2.0
swagger-ui
contact
basic
ssl-client-authentication
spring-kafka
ef-migrations
http-status-code-504
database-replication
custom-wordpress-pages
reverse-proxy
visjs
errorlevel
mmap
restful-authentication
claims-based-identity
rundeck
crystal-reports-2010
poltergeist
selectedindexchanged
traffic
strncpy
elasticsearch-ruby
wtx
libuv
procdump
fabric8
catel
usbserial
accelerate-framework
host
retina-display
temporary-files
sql-server-agent
jvm-languages
glew
botbuilder
heightmap
unixodbc
businessworks
paxos
veracode
forever
feeds
pearson
flutterwave
or-tools
quartz-composer
pintos
django-debug-toolbar
qcustomplot
bluemix-app-scan
ipconfig
freedesktop.org
ora-00900
google-places
sdhc
fouc
angular-leaflet-directive
twirl
bridge.net
kineticjs
offloading
html-helper
eol
article
tld
starcluster
android-2.2-froyo
srs
stxxl
soundtouch
easy-install
jquery-mobile-dialog
ember-app-kit
factory-method
anonymous-methods
broken-links
dice
windows-phone-7.1.1
dotnethighcharts
gnu-prolog
data-loss
external-accessory
appender
xfbml
lang
lpeg
gamma
getresponsestream
filtered-index
nsviewanimation
fixed-width
memory-size
swing-app-framework
xetex

Resources

Database Users
RDBMS discuss
Database Dev&Adm
javascript
java
csharp
php
android
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App