Hi, this module looks like it would be very useful for my site, but I am finding two issues:

1) Links are not being added, even when the text I input matches the title of a node in a content type that I've selected

2) Even if I choose to only autocomplete on content type B, node titles from content types A and C appear in the widget form when I start typing

I've tried using a clean install of Drupal 6.22, using only the required modules, and I still get the same behavior.

Comments

yub_yub’s picture

For anyone else having trouble implementing this module, you have to go to the "Display fields" of one of your content types and select 'Text or nodereference' from one of the dropdowns there. Was very happy to get this to work.

yub_yub’s picture

Status: Active » Closed (fixed)
pezholio’s picture

Status: Closed (fixed) » Needs work

I'm still getting this issue here I'm afraid, despite carrying out the suggested fix.

pezholio’s picture

Actually, I've now managed to sort the issue with the links (they weren't showing in Devel). However, it's still not filtering by node type, and I'm still getting all of the nodes show up in the autocomplete.

pezholio’s picture

Looking through the code, it seems that the ability to filter by node type isn't actually there (forgive me if I've misunderstood!). I've put together a patch, so this works as I expected.

pezholio’s picture

Status: Needs work » Patch (to be ported)

Forgot to change the status!

boobaa’s picture

Status: Patch (to be ported) » Fixed

Thanks @pezholio for reporting this; I've just committed a slightly modified patch of yours to 6.x-1.x.

Status: Fixed » Closed (fixed)

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