Fix: Autocompleter does not work with Joomla 3.6+

1 year 9 months ago #284194 by slabbi
A hotfix is available for those who cannot use the Autocompleter in Joomla 3.6+.

Please download the file from my dev page:
www.slabihoud.de/software/id4001.htm

uddeIM & uddePF Development
Google+ profile: plus.google.com/u/0/b/117839921924782901705/
CB Language Workgroup
CB 3rd Party Developer
1 year 9 months ago #284573 by Hoffi1
Hi Slabbi,

while trying your hotfix1 I got display problems and found two little bugs:
  • because the string 'false' is not interpreted as boolean false you should change (line 294)
    $input1 = $jinput->get('no_html', 'false', 'BOOL');
    to
    $input1 = $jinput->get('no_html', false, 'BOOL');
  • with (lines 2688f and 2856f)
    $input = new JFilterInput;
    $input->clean($input, 'username');
    you replace the string by an object. The easiest way instead to use the non-static clean function would be
    $input = JFilterInput::getInstance()->clean($input, 'username');

Best regards & thanks for your great and useful component
Hoffi
1 year 9 months ago #284638 by slabbi
Thanks for the corrections.
I will publish these fixes in Hotfix2.

uddeIM & uddePF Development
Google+ profile: plus.google.com/u/0/b/117839921924782901705/
CB Language Workgroup
CB 3rd Party Developer
1 year 8 months ago #285199 by fribse2011
Looks like the autocompleter is in place now, thankyou!

Best regards
Fribse

Dykkerklubben Dannebroge www.dkdb.dk
We're a volunteer driven diving club in Mosede, Denmark.
Har du brug for en dykkerklub der rummer alle, så kom ned til os.
Moderators: beatnantslabbikrileon
Time to create page: 0.183 seconds
Facebook Twitter Google LinkedIn