First time here? Check out the FAQ!

how do I enable the similar question prompt when asking a question?

For clarity I'm talking about the dynamic window below the title and between the body which shows questions similar to the title.

It's running on but I don't see an option to enable it in my settings.


I have tried adding this to MY_SKIN/templates/ask.html:

<script type='text/javascript'>
    var sortMethod = undefined;//need for live_search
    var minSearchWordLength = {{settings.MIN_SEARCH_WORD_LENGTH}};
<script type='text/javascript' src='{{"/js/live_search.js"|media}}'></script>

and I updated live_search.js from the default template.

tfoote's avatar
updated 2011-03-17 13:42:09 -0500, asked 2011-03-16 22:46:39 -0500
edit flag offensive 0 remove flag close merge delete


may anyone in your community be interested to contribute some coding effort for askbot?
Evgeny's avatar Evgeny (2011-03-16 23:10:50 -0500) edit
add a comment see more comments

1 Answer


The change seems to have been lost in the merge process. There is a script called live_search.js that is missing on your ask page.

Also I notice that autocomplete="off" attibute is missing on input element with id="id_title" - that will kill the useless autocomplete dropdown.

Pretty soon you may notice some other javascript issues - please give a good test on upgrades. Unfortunately there are no test cases in the js yet.

Evgeny's avatar
updated 2011-03-17 00:21:10 -0500, answered 2011-03-16 23:02:51 -0500
edit flag offensive 0 remove flag delete link


I have media/js/live_search.js in my skin directory. Do I need to update my skin to include the livesearch? And thanks for the tip on the autocomplete.
tfoote's avatar tfoote (2011-03-17 13:22:57 -0500) edit
yes, pls compare files askbot/skins/default/templates/ask.html but for real, I would do a full git diff and examine the patch piece by piece, then maybe fix some things. Did you have merge conflict on ask.html? I would expect you should have, if not - then it is not a good sign - as some things may get lost on merges that way.
Evgeny's avatar Evgeny (2011-03-17 13:59:50 -0500) edit
add a comment see more comments