Site of the Day

Aviva Strongest Directories

IndexU Tips & MODs

What's Up

Blog Calendar
May 2008
M T W T F S S
« Apr    
 1234
567891011
12131415161718
19202122232425
262728293031  

Blog Archives

Pagerank Statistics
PR 7
   
1 site(s)
PR 6
   
4 site(s)
PR 5
   
34 site(s)
PR 4
   
87 site(s)
PR 3
   
153 site(s)
PR 2
   
87 site(s)
PR 1
   
40 site(s)
PR 0
   
115 site(s)

WP Search Result in IndexU

 Wednesday, March 19th, 2008

It seems many of our visitor searching for blogs/article using the big search bar above, but unfortunately they will found no result from blogs because it is only searching for IndexU links not the Wordpress content. So we decide to make a mods that will search Wordpress content and display it's result within IndexU, hopefully it will make our site more useful for users.

Members can download this mods for FREE here (you’ll need to login first).

Here is the integration step :

  1. You'll need to do the initial Wordpress and IndexU integration first.
  2. Edit your indexu-blocks.php script, and add the following code at the bottom :
    Content visible to member only. Please register and login first.

  3. Unzip and upload the wp-search-result.zip file to the corresponding IndexU folder.
  4. Edit your search.html and search_error.html template (IndexU) and add the following :
    Content visible to member only. Please register and login first.

    About the parameters :

    • blog_url : your blogs url (without the end slash)
    • title : the blocks title, you might want to customize it to suits you
    • keyword : the search term for blog
    • min_char : minimum keywords chars where blog search will be performed
    • num_result : maximum number of result returned

The mods is created based on kosmos template, so for other templates you might need to adjust it a little bit.

That's all.
Comments and feedbacks to improve this mods are welcome.

Leave a Reply