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

Issues with custom queries in views
Lot of spams on drupal 6 site with reCaptcha module [closed]
get data from just created node and pass it to url
how to a translatable string in drupal theme?
How to create node of particular content type from webform results?
Need to export drupal comments to disqus
How to add js file in footer in drupal6?
how to include jwplayer in drupal site
Is it possible to combine two hook_preprocess functions into one in drupal 6
How to access cck fields in tpl file?
drupal 6 authenticated user
Show drupal node along with comments for iphone app
Drupal removing a node reference from a node
how to increase the upload term limit of taxonomy csv module
(upload_fid) Drupal token
How to redirect a user to profile page after one time login in drupal

Categories

HOME
log4j
oracle11g
fft
grep
programming-languages
paw-app
baqend
echarts
swagger-ui
portia
slick-slider
maude-system
static-libraries
fortumo
visual-studio-cordova
caml
facebook-page
invantive-sql
interop
alpine
custom-wordpress-pages
java-3d
scriptcs
firebase-crash-reporting
opennlp
kannel
brunch
phpfox
spring-mybatis
neo4j-spatial
xacml
r-raster
galsim
http-status-code-503
textmate
gammu
wallpaper
y86
http-digest
plsql-psp
appfabric
io-redirection
adobe-premiere
serve
swisscomdev
particles.js
elmah
spring-security-kerberos
node-sass
dotcover
veracode
knockout-components
spring-cache
orthogonal
watchconnectivity
parallel-data-warehouse
database-optimization
phishing
plottable.js
firebaseui
fputcsv
markojs
essence
captivenetwork
citrus-pay
riak-cs
ionic
method-parameters
event-bubbling
appfabric-cache
unity3d-gui
facebook-graph-api-v2.4
ng-animate
phalanger
xojo
wp-query
doskey
openlaszlo
prettify
jplaton
shellexecute
qt-faststart
padarn
smtp-auth
trusted
viewswitcher
hgsubversion
django-tagging
xdomainrequest
celltable
mysql-error-1005
cxxtest
sproutcore-2
getresponsestream
web-architecture
w3wp
ntvdm.exe

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App