broser problem with freetag

Creating and modifying plugins.
Post Reply
konus
Regular
Posts: 334
Joined: Mon Jun 16, 2008 1:57 pm
Location: Dresden, Germany
Contact:

broser problem with freetag

Post by konus »

Hello,
after updating my favorite browser to Version 10.5 I found out, that the autocomplete features in serendipity_event_freetag plugin does not work anymore. I think it is a browser issue, because in Firfox it works just fine.

Until now, I was in Opera able to enter some chars and choose from the list of all matching tags with the mouse.

Now displaying the list still works, but choosing from with the mouse does not anymore.

I think, the Problem is the use of Web Input Completion Kit wick.js form http://wick.sourceforge.net/ Unfortunatly, this Code did not get any support or enhancements since 2005.

I dont know, if the problem can be fixed. Howewer, I found some alternatives:
Axax Autocomplete

jQuery plugin: Autocomplete

Another jQuery plugin
konus
Regular
Posts: 334
Joined: Mon Jun 16, 2008 1:57 pm
Location: Dresden, Germany
Contact:

Re: broser problem with freetag

Post by konus »

Autosuggest and Autocomplete demos (some links are dead)

there is another list of Autocomplete scripts with jQuery (which is already used by other plugins)

I guess the problem has low priority, because it is in Opera only, but I would really appreciate every help with this.
onli
Regular
Posts: 3044
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

Re: broser problem with freetag

Post by onli »

If this has some time, I could have a look on this next week: I'd also favor a jQuery-plugin replacement.
konus
Regular
Posts: 334
Joined: Mon Jun 16, 2008 1:57 pm
Location: Dresden, Germany
Contact:

Re: broser problem with freetag

Post by konus »

There is plenty of time - since it is only within Opera and manually entering the keywords still works.
However, I would really appreciate a working auto-complete solution, since I use some really long tags :-)
onli
Regular
Posts: 3044
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

Re: broser problem with freetag

Post by onli »

I replaced wick with jquery-autcomplete. Works fine in FF 3.0, Chrome 5.0.342.9 beta and Opera 10.5. Please see if it really works like it should, it should be not a problem to replace the plugin with another if not. If all is fine, and if someone could test it with the newest Firefox and IE, I'd commit it.
sincerely

serendipity_event_freetag-3.12.tar.gz
konus
Regular
Posts: 334
Joined: Mon Jun 16, 2008 1:57 pm
Location: Dresden, Germany
Contact:

Re: broser problem with freetag

Post by konus »

Thank you for the help. I works with Opera 10.51 but at the moment it is not as versatile as the old plugin.
1. the suggestion mode only works for the first tag. In the old plugin, after a comma I would get some suggestions for the next tag too.
2. I use a lot of tags with hyphen in it like "Dresden-Klotzsche", "Dresden-Prohlis", "Dresden-Tolkewitz" for all the parts of my city. Because this tags are only specific after the leading part "Dresden-" , I found it very helpful, to type only the part after the hyphen to get suggestions with all tags containing the typed letter at the beginning and after a hyphen.

Could it be changed?
onli
Regular
Posts: 3044
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

Re: broser problem with freetag

Post by onli »

Sorry you had to wait that long. It was merely a confuration-issue on my side. Try the new version :)
konus
Regular
Posts: 334
Joined: Mon Jun 16, 2008 1:57 pm
Location: Dresden, Germany
Contact:

Re: broser problem with freetag

Post by konus »

Yes, this works nice, Thank you!

There is one cosmetic issue: It shows up to 10 tags, but the drop-down-field holds only 9. So it always shows a scrolling bar. To solve it, I changed scrollHeight:180 to scrollHeight:200 in jquery.autocomplete.min.js

Here is the modified serendipity_event_freetag-3.12.1.tar.gz with scrollHeigt:200

An other possivility would be to change line 33 from 16px to line-height: 14px; in jquery.autocomplete.css
onli
Regular
Posts: 3044
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

Re: broser problem with freetag

Post by onli »

Well seen. But changing the plugin itself for this is not necessary, it'd be better to add that option to the call of the plugin in serendipity_event_freetag.php in line 880. Maybe not that important in this case, but let us better not start with this at all if not necessary :)

Did this here.
konus
Regular
Posts: 334
Joined: Mon Jun 16, 2008 1:57 pm
Location: Dresden, Germany
Contact:

Re: broser problem with freetag

Post by konus »

I see. I think it is ready to go to spartacus. THANK YOU!
onli
Regular
Posts: 3044
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

Re: broser problem with freetag

Post by onli »

Just added it :)
Post Reply