Skip to Content Skip to Menu

Fix: Autocompleter does not work with Joomla 3.6+

  • slabbi
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
8 years 3 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 or Create an account to join the conversation.

  • Hoffi1
  • Hoffi1
  • OFFLINE
  • Posts: 1
  • Thanks: 0
  • Karma: 0
8 years 3 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)
    Code:
    $input1 = $jinput->get('no_html', 'false', 'BOOL');
    to
    Code:
    $input1 = $jinput->get('no_html', false, 'BOOL');
  • with (lines 2688f and 2856f)
    Code:
    $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
    Code:
    $input = JFilterInput::getInstance()->clean($input, 'username');

Best regards & thanks for your great and useful component
Hoffi

Please Log in or Create an account to join the conversation.

  • slabbi
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
8 years 3 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 or Create an account to join the conversation.

  • fribse2011
  • fribse2011
  • OFFLINE
  • Posts: 921
  • Thanks: 79
  • Karma: 8
8 years 2 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 or Create an account to join the conversation.

Moderators: beatnantslabbikrileon
Powered by Kunena Forum