[development] taxonomy defaults based on URL arguments

Greg Knaddison Greg at GrowingVentureSolutions.com
Sun Jan 25 18:26:35 UTC 2009

On Sun, Jan 25, 2009 at 6:41 AM, Ashraf Amayreh <mistknight at gmail.com> wrote:
> I was just thinking of creating a module that assigns default taxonomies
> inside a node add form based on arguments in the URL, for example:
> ?q=node/add/page/5/6/7/8
> Where 5 and 7 would be vocabularies and 6 and 8 would be the respective
> desired values to be chosen in the vocab drop downs.

There is http://drupal.org/project/prepopulate which probably does
what you want (but with much longer URLs).

One note if you do decide to implement this: term ID values are unique
so there is no need to specify the vocab that is the container of the
term ID.


Greg Knaddison
http://knaddison.com | 303-800-5623 | http://growingventuresolutions.com

More information about the development mailing list