I am trying to import nodes programatically into Drupal with php (or perhaps by using the node_import module).

However, for many of the fields it is not clear what the permitted values are. Is there a way to see the raw field values for existing nodes so I know what to enter?

For example, I have some CCK fields with limited options (e.g. a salary field which has a fixed range of dropdown menu options with salaries in $10k increments) and I am not sure how to enter the values correctly. Would the value for this field be the actual salary range text written exactly (e.g. '$10,000-$19,999') or some other reference to the permissible value?

Thanks

Comments

coreyp_1’s picture

Install Devel. It will add a tab to the node page that lets you see how the node object looks (i.e., the values stored in the variables). That should tell you most of what you need to know.