Posted by pkcho on July 12, 2011 at 3:59pm
We want to allow users to contribute Business Press Releases to our site for admin approval and posting.
Our article content type has a taxonomy attached to it that includes a number of terms that I do not want the general public to choose from. At this time, I only want them to have the option to pick "Business Press Release".
Can someone point me in the right direction on this?
Thank you,
Joe
Comments
use hook_form_alter()
Not sure if there's a module to do this, but you could use hook_form_alter() to hide the taxonomy field and populate it's value with the term you want. You could also have this change only effect anonymous users, for example.
Use separate form for general users
It is better to use a separate form with only fields necessary to public.Then override that forms submission and save forms content with 'Article node type'.So you can use strict policy for users.
hmm...Unfortunately, using
hmm...
Unfortunately, using hook_form_alter() is beyond my skill level.
I was trying to automate this process as much as possible. If I go the form route, what is involved in overriding the forms submission and saving that content as an article node type?
I was planning to use the workflow module to put an approval system in place. I guess it's not that simple :(
For form Api route check this link http://drupal.org/node/204270
http://drupal.org/node/204270
http://drupal.org/project/ter
http://drupal.org/project/term_permissions
use TAC
Hi,
TAC should serve the purpose.
http://drupal.org/project/taxonomy_access