Closed (fixed)
Project:
Taxonomy Fields
Version:
5.x-1.7-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
18 Jul 2008 at 14:08 UTC
Updated:
4 Aug 2008 at 15:52 UTC
I have a field called field_time, it's a taxonomy field linked to the taxonomy Time.
When a user wants to create a new node he has to select a value for Time.
I want to manipulate the sent value of Time in node.module (see issue.PNG)
How can I get the value of this field ?
Regards,
Nicolas
| Comment | File | Size | Author |
|---|---|---|---|
| issue.PNG | 33.68 KB | Nicolas_85 |
Comments
Comment #1
boneless commentedHi Nicolas,
the values of taxonomy fields are usually saved in a table called 'content_type_term_related_[tid]' where tid is the term id of the taxonomy term you are using.
(If you would be using a universal value for the field it would be stored in the 'taxonomy fields' table)
Regarding your .png, there is absolutely no need to modify core modules, changes here can be fatal.
Instead hooks should be used to change Drupal the way you need it.
Check out hook_nodeapi here http://api.drupal.org/api/function/hook_nodeapi/5.
Hope this helps
Comment #2
Nicolas_85 commentedProblem solved with hook_insert() and hook_form() !
Thanks !
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.