[development] better autocompletion?

Gerhard Killesreiter gerhard at killesreiter.de
Tue Apr 18 13:42:37 UTC 2006

Moshe Weitzman wrote:
> Hmmm. I can't yet understand what you are trying to do. Please give a use
> case.

The use case is in comment_mover module. Among other things it adds a 
"move" tab to nodes. If you click that tab you get a form which has a 
single autocompletion field. There you can select another node by title 
to which you the can assign the first node as a comment. This is usefull 
for any mail processing module where mails might come in out of order. 
In this case the second mail would be processed first and made its own 
node since no parent can be found (the parent still being in the queue). 
So you can use comment mover to fix this.

> I'll add that autocomplete can certainly return full HTML for each match so
> we could show a profile picture along with each matching user if we desired.
> I saw this on some site and it looked terrific IMO.

Yeah, but as always I am after functionality not eye candy. :p

> It seems that other modules have also tacked this problem when author has to
> identify a 'related node' in a form. One module (relativity?) adds a link
> (for current user only) to all nodes which reads 'use this node for x' when
> you are searching for a related node. It also offers a 'cancel searching'
> link. The destination on each link takes you back to its form after some
> processing has occurred. Might be an option in your case.

Not really, if you image a lively discussion forum.


More information about the development mailing list