Sorry I'm going crazy posting issues, but I love this module. It would be nice if it worked with Autocomplete Deluxe widget as well as the default autocomplete widget. That module makes it a little easier for users to work with the terms.

Comments

jitesh doshi’s picture

Thanks for the encouragement and the feature request. I will download and test that other module with mine and try to reproduce your situation. But I'm very slammed this weekend. I'll work on it shortly. Please bear with me.

heatherwoz’s picture

No problem, it's just a feature request that would be nice to have. I would work on it and submit patches myself, but I have a lot of other tasks that are more important. What you've done so far is great.

nevets’s picture

To help make this happen the widget type is 'active_tags_taxonomy_autocomplete'.

For me in popular_tags_form_field_ui_field_edit_form_alter() changing from

  if ($instance['widget']['type'] == 'taxonomy_autocomplete') {

to

  if ($instance['widget']['type'] == 'taxonomy_autocomplete' || $instance['widget']['type'] == 'active_tags_taxonomy_autocomplete') {

and in popular_tags_field_widget_form_alter() change from

  if ($context['instance']['widget']['type'] == 'taxonomy_autocomplete' && !empty($context['instance']['widget']['settings']['popular_tags']['use'])) {

to

	if ( $context['instance']['widget']['type'] != 'taxonomy_autocomplete' &&  $context['instance']['widget']['type'] != 'active_tags_taxonomy_autocomplete' ) {
		return;
	}
	
  if (!empty($context['instance']['widget']['settings']['popular_tags']['use'])) {

did the trick.

jitesh doshi’s picture

Thanks for the code. I committed equivalent code and created a new release 7.x-1.0-alpha2. The release should be available within 12 hours.

heatherwoz’s picture

I was talking about Autocomplete Deluxe, not Active Tags. I think it's actually LESS user-friendly to combine this module with Active Tags. The beauty of this module is that the user can click on the desired term, and it's added. Active Tags adds the extra step of the "Add" button, if you want the term turned into a button with a red X. Users are likely to overlook that step, thus bypassing the benefits of Active Tags, or get confused by the multiple clicks required.

The Autocomplete Deluxe module shows the selected term within the autocomplete field, so it would meld more seamlessly with this module. Maybe it's a matter of adding another widget option to the list.

jitesh doshi’s picture

Got it. Let me download that module. Sorry, that things are going slow. I'm trying to add a friend as co-maintainer.

jitesh doshi’s picture

I downloaded autocomplete delux module and tried to test it with popular tags module. The UI approach taken by autocomplete delux is very different. I don't think their approach is compatible with ours.

I have a question for you -- Which feature of autocomplete delux would you like to combine with popular tags? Do you mean the ability to list selected tags in boxes and removing them from selection by clicking on the "x" button in the box?

jitesh doshi’s picture

Status: Active » Closed (works as designed)

At this point, I'm closing this issue. I haven't got any response to my request for feedback on April 22 from the original requester.