hi
first off can I say, this is one of the best modules on Drupal, its this kind of thing that will advance the CMS further.

Ive installed the live search on my site, and it works like a charm, just what I needed. I have a small problem though, Im not sure if i missed something or this is actually a real problem.

If I do a search on one page, the links come up to the relvent content, when I click on those links to go to the content, the search disapeers. Is there some way of locking this on all the time? idealy, to get more hits out of the viewer, id like to keep the content list they searched for on their new page, in the hope they click on more than one link.

having limited PHP knowledge, the only way i could think of getting around this is to use a SSI for a seach block, but then you have the instant problem that all your links will open up in that search block rather than in the main body. Same problem if you applied a 'blank_target" to the links, the viewer would end up with a stack of windows!

Any ideas on this? Thanks

Comments

kourge’s picture

This is an interesting one. Let me start with the working mechanism of Live Search. Essentially, when a user types stuff in the live search box, the phrase(s) get(s) submitted invisibly in the background, and when the results arrive, they get injected into the current page.
Now here's when the interesting thing starts. If I were to implement this, for every click in the search results, I would need to remember the query first, and when the page is done loading again, I would have to fire the query again. This sort of drags the server down. What do you think?

kourge’s picture

Status: Active » Closed (won't fix)