Needs review
Project:
Prepopulate
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
16 Nov 2012 at 12:58 UTC
Updated:
23 Jun 2014 at 19:54 UTC
Jump to comment: Most recent
Comments
Comment #1
A.Kotov commentedThanks a lot.
I could not prepopulate taxonomy term in dropdown menu following the manual. And this code solved problem.
Had a correct a bit, because variable names already changed.
Had this in template
After this (in prepopulate.module)
Added this
node/add/CONTENTTYPE?edit[FIELDNAME][und][term]=MY_TAXONOMY_TERM_NAME (not tid)
may be somebody could compile patch from this