[support] Automatic term selection

Earnie Boyd earnie at users.sourceforge.net
Wed May 7 11:37:11 UTC 2008


Quoting Edward  Peters <edward.peters at uk.iofc.org>:

> Is there any way, on the node add form, to force the selection of a
> particular term in a vocabulary dropdown, perhaps via a parameter in the
> URL?
>

You could write a small module that would do a hook_nodeapi[1] 
implementation and add it to the node object before it was saved.  See 
also the documentation on the list of hooks[2].

[1] http://api.drupal.org/api/function/hook_nodeapi/5
[2] http://api.drupal.org/api/group/hooks/5

Earnie -- http://for-my-kids.com/
-- http://give-me-an-offer.com/



More information about the support mailing list