Keyword

strange issue with live search on k2 tool search

  • Devil089
  • Devil089's Avatar Topic Author
  • Offline
  • New Member
More
10 years 5 months ago #127931 by Devil089
Hello, :cheer:

i have a strange issue with the live-seach function on the k2 tools search module.

if a use {loadposition my-position} in a item text for example to load a module on this position

the live search suggestion if i enter the first letters don't work anymore for this item. :S
just the loading sign but no suggestions in live search.

if i remove the code above from the item it works normally. :blink:

can anyone help me how i can fix this issue. :(

it makes me crazy.

hope you understand what i mean.

Devil
Attachments:

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

More
10 years 5 months ago #127932 by Lefteris
Hi. Are you talking about an item of the results? Since this is an ajax request probably one of the modules at position "my-position" is breaking the output. I recommend to put the loadposition code into fulltext, not introtext. This way the results should not break.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • Devil089
  • Devil089's Avatar Topic Author
  • Offline
  • New Member
More
10 years 5 months ago - 10 years 5 months ago #127933 by Devil089
hi thanks for your answer :)

yes i want to search for an item with the k2 tool search .
if i put the {loadposition my-position} text in the item content the live search don´t work anymore.

it works if i klick search , but it don´t suggest me the article if i write down the first letters.

what do you exactly mean with put code in full text not in intro text. ?

Do you mean the extra fields ?

i put the code in the content of an article. :dry:

Devil
Attachments:

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

More
10 years 5 months ago #127934 by Lefteris
I mean to put it after the read more. This looks like a problem of the modules loaded there, not K2. Try to set error reporting to maximum under Joomla! configuration and then give me a link of your site so i can take a look at the request. Note that most modules are not designed to work in AJAX requests so probably you will have to move the position into introtext as i suggested.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • Devil089
  • Devil089's Avatar Topic Author
  • Offline
  • New Member
More
10 years 5 months ago - 10 years 5 months ago #127935 by Devil089
Hi Lefteris, :)

i have put the code {loadposition my-position} after the red dotted read more line.

hope you mean that ? :unsure:

then it works. :cheer: !

thank you for that tip !!


Devil 089

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

More
10 years 5 months ago #127936 by Lefteris
You are welcome.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum