Its a continuation of http://drupal.org/node/1471294#comment-5790754

This patch implements Tokeninput jQuery plugin interface. It puts a checkbox in the field settings page as 'Use tokeninput'. If its selected, then checks the libraries directory and prints suitable error message.

The patch also properly creates tokeninput filelds and shows data.

Tokeninput needs a textbox to function properly. But, autocomplete deluxe uses LISTs. This patch is a oneday work, so its not complete yet.
I couldn't figure out a way to save back the textfield value in to list item form (because, internally in drupal this field is of type 'list'). Need a little help here.

Comments

amrit_b’s picture

StatusFileSize
new10.22 KB

heres the patch

sepgil’s picture

Hey amrit_b, I looked roughly through your patch and tried out the demos, but I hadn't time to try out your patch.
I'm not sure what exactly the differences are, except for the UI and I'm wondering if that couldn't be achieved with some little CSS.

BTW:
Autocomplete Deluxe uses a list and a textbox, depending on which widget you use. If you use it for taxonomy terms, it will use a textbox, but if you restrict entering new terms (using Content Taxonomy) or if you use it for lists it will actually use a select list to save and submit the values.

amrit_b’s picture

Yeah right sepgil.. Actually I was writing a separate module for tokeninput. Then a friend of mine pointed out autocomplente_deluxe and also suggested to add this plugin as an UI in this module itself, rather than creating a new one..

d34dman’s picture

StatusFileSize
new717.93 KB

Hi friends,
I did a brief study on User Interface Autocomplete Deluxe and Tokeninput.

Summed up the comparison in the pdf attached.

Now i would like to hear user response of what they preffer (strictly related to UI). Autocomplete Deluxe is an awesome plugin indeed. But i strongly feel it could be more flexible on the UI part. Sometimes all one needed was a prettier autocomplete field.

As sepgil has suggested the features in Tokeninput can be implemented in Autocomplete Deluxe by some css. I'd personally like to see that happening. Would like to know if amrit_b is interested in implementing a Tokeninput like theme for Autocomplete Deluxe.

d34dman’s picture

The link to file attached above doesn't work because of '#' character in filename. So re uploading it in this post.

amrit_b’s picture

Thanks for listing those points down so nicely D34dMan! I moved to Mumbai yesterday and now I have abundant time to spend on d.o.!

Anyway, what do you have in mind? and particular approach for theming? If we only use theme, then I don't think we need tokeninput jQuery plugin at all..

d34dman’s picture

Category: task » feature

Hi amrit_b,
The report has not talked about the implementation details at all. Its only discuss "out of the box" look and feel of respective modules that i have studied. Is there any particular reason apart from look and feel that Jquery Tokeninput provides? If so can you list them please. Also list those features that are NOT or cannot be provided by Jquery Tokeninput.
This discussion would help us understand if we require to develop a plugin for Autocomplete Deluxe using Jquery Tokeninput or just develop a theme for Autocomplete Deluxe.

ramsunvtech’s picture

Here i have mentioned the similar modules. take a look at it.

http://drupal.org/project/autocomplete_deluxe
http://drupal.org/project/chosen

rajab natshah’s picture

Issue summary: View changes
Status: Active » Closed (outdated)