Fix: Autocompleter does not work with Joomla 3.6+

7 years 8 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
CB Language Workgroup
CB 3rd Party Developer

Please Log in to join the conversation.

7 years 8 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

Please Log in to join the conversation.

7 years 8 months ago #284638 by slabbi
Thanks for the corrections.
I will publish these fixes in Hotfix2.

uddeIM & uddePF Development
CB Language Workgroup
CB 3rd Party Developer

Please Log in to join the conversation.

7 years 7 months ago #285199 by fribse2011
Replied by fribse2011 on topic Fix: Autocompleter does not work with Joomla 3.6+
Looks like the autocompleter is in place now, thankyou!

Best regards
Fribse

Frømandsklubben Nikon, www.nikondyk.dk
We're a volunteer driven diving club in Ishøj, Denmark.
Har du brug for en dykkerklub der rummer alle, så kom ned til os.

Please Log in to join the conversation.

Moderators: beatnantslabbikrileon
Time to create page: 0.179 seconds

Facebook Twitter LinkedIn