Ajaxify: Search Suggestions
The second plugin in the pluginset known as Ajaxify, this plugin adds a search suggestion feature to the Quicksearch box at the top when you search for entries, comments or trackback. There's very little to talk about this plugin but I should note that it is a little buggy when handling search terms with spaces for example "MT Blogroll". I've been trying to find a fix but the javascript is unreadble! None-the-less, it works quite well as can be seen from this screenshot. It has, of course, been built for Movable Type 3.2. Go grab your copy.

Shaya said:
on Aug 30, 2005 8:44 PM | Reply
tried this out, but it doesn't seem to work for me. It's deffinetely hitting the webserver, but not getting any results back.
pruned apache logs
while if I search for "Shaya" I get multiple results back.
Shaya said:
on Aug 30, 2005 10:06 PM | Reply
hmm, I was somewhat of an idiot, as I didn't follow step 3.
but step 3 has now been followed and still getting an error when I load the page manually.
Error -- [ 1. Error establishing a database!Are you sure you have the correct path? 2. Are you sure that you have typed the correct database instance name? 3. Are you sure that the database is installed? ] Invalid Query -- [select * from mt_config]which is seemingly beeing printed by
any ideas?
Shaya said:
on Aug 31, 2005 12:26 AM | Reply
hmm, I give up, that error is being given by ezsqlsqlite.php, because it's unable to open the db, the reasoning being that even though I edited the variables, null strings are being passed, but when I pass a static string to sqliteopen() it still returns that error.
can't bang on this anymore for now, maybe later.
Shaya said:
on Aug 31, 2005 7:36 AM | Reply
tada, the answer is.
MT is using sqlite3, php only has sqlite2. :(
SDiZ said:
on Sep 1, 2005 1:10 PM | Reply
This plugin does not work here... I believe that's becoz the hardcoded "old" HTML in the .pl file.. Which template did you got those HTML from?
Shaya said:
on Sep 2, 2005 1:51 AM | Reply
ezqlsqlite also depends on php5 (uses sqlitefetch_object, which is only in php5).
so basically to use this plugin if you are using sqlite, you need php5 and using sqlite2 (which wont be in the right place for MT to find it under Debian, so involves a little hacking of MT)
Joerg Petermann said:
on Sep 2, 2005 11:37 PM | Reply
I use the absolute(!) path to mt, then Search Suggestions works. But I didn't get the new template editing features. What's wrong?
Arvind Satyanarayan said:
on Sep 2, 2005 11:39 PM | Reply
What's wrong is that plugin hasn't been released yet :)
Joerg Petermann said:
on Sep 3, 2005 1:41 AM | Reply
Sorry Arvind, one screenshot with several function, missunderstood your posting! But the function is very nice and a must have to the next version of MT. Hope it will be standard, usefully!