[body_filter][body] not working for Drupal 6.3
justin3 - August 14, 2008 - 06:00
| Project: | Prepopulate |
| Version: | 6.x-2.x-dev |
| Component: | Documentation |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
prepopulate [body_filter][body] not working for default node type in D6
title and url work great, but &edit[body_filter][body] (or just [body]) do not work. Can't get anything to come up in the body field at all.
Anyone else have this problem? Any clues would be greatly appreciated.

#1
I am having this same issue on 6.4 with a module of my own design. It would be very helpful to know how to fix this, if it has been determined.
#2
This isn't a problem with prepopulate, to set the body use edit[body_field][body].
I don't know when this was changed, but this works as of drupal 6.5
#3
#4
wasn't a bug in the module
#5
Hi,
I'm trying to prepopulate to define the message in contact module form with this :
?edit[message]=Hello
But it doesn't seem to work...Any ideas??
Thanks
#6
As far as I'm aware, Prepopulate for all forms isn't in the drupal 6 version yet, and therefore Prepopulate only works for node type forms in drupal 6.
#7
hm, well actually all forms is in D6 now. but that is not to say that it works on *all* forms. we know that there are issues with the comment forms for example. either way this should be a new issue and not hijack a different, fixed issue.
#8
Automatically closed -- issue fixed for two weeks with no activity.
#9
not work for 6.6 either
#10
I am reopening this after spending an hour hunting for body prepopulating solution.
The answer is there, as usual, but it is very much hidden.
The documentation page at http://drupal.org/node/228167 still mentions edit[body_filter][body] but the comment underneath (http://drupal.org/node/228167#comment-1184706) helpfully says we should use edit[body_field][body] instead.
I confirm that the latter works in 6.x-2.x-dev and also in 6.x-1.1.
I am not fixing the documentation myself as I am not sure whether edit[body_field][body] works only since a particular Drupal version, or whether it works in all D5 and D6 versions. Could somebody who knows the answer comment here. Thanks.
#11
Thanks!
#12
vacilando: +1
please add the [body_field] example to the USAGE.TXT file and the handbook. ;-)
#13
Committed to 6.x branches and updated handbook page.
#14
Automatically closed -- issue fixed for 2 weeks with no activity.