Hi, I'm trying the nodereference_field + nodereference_autocreate. It works fine enabling two fields (the title field which should be added per default plus one other field) but, if you add a third field (or if you set two fields different than the title), only one field will be displayed ant the output of node reference field will be messed up.

I'm using Drupal 6.14 + Node reference field 6.x-1.x-dev (2009-Jun-13) + Node reference auto-create 6.x-1.x-dev (2009-Jun-13).

Thanks for this module: it will be very useful :-)

Comments

finex’s picture

This bug occours only when the nodereference_field number of values is greater than 1 or "unlimited". If the number of values option is set to "1", all fields are displayed in the edit form.

very_random_man’s picture

StatusFileSize
new957 bytes

I have a fix for this. Not sure exactly what to do now. I've mailed the maintainer to find out what he wants me to do with it.

In the meantime I've had a go at making a patch. I've not done one before so it may not work! If it doesn't, you should be able to see what the fix is by examining it. Basically, I've just renamed a variable in nodereference_field.pages.inc.

very_random_man’s picture

Status: Active » Needs review
boombatower’s picture

StatusFileSize
new1.06 KB

Cleaned up comment.

boombatower’s picture

Status: Needs review » Closed (fixed)

Committed, thanks.

boombatower’s picture

Status: Closed (fixed) » Fixed

Doh.

finex’s picture

Many thanks! :-)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.