Directory Statistics
Active Directories:
Pending Directories:
Rejected Directories:

Categories:
Unique Outgoing Hits:
535
5
577

75
21370

Pagerank Statistics
PR 7
   
1 site(s)
PR 6
   
6 site(s)
PR 5
   
28 site(s)
PR 4
   
79 site(s)
PR 3
   
106 site(s)
PR 2
   
99 site(s)
PR 1
   
56 site(s)
PR 0
   
160 site(s)

Regional Directories

Niche Directories

Popular and Latest Search Blocks

 Monday, October 8th, 2007
Mods Compatibility
IndexU 5.4.X
IndexU Deluxe
??

As promised in previous mods, here we create few blocks to show the search term in page so hopefully it will be useful for users and search engine can crawl the search result page correctly.
There are two blocks in this regards :

  • Popular Search Block : show the most popular search term
  • Latest Search Block : show the latest search term

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

Upload the *.php files to your "blocks" folder, and upload the *.html files to your "themes/active_themes/blocks" folder.

The blocks is using the default "kosmos" layout. So if you use other themes, you'll need to adjust the template files a little bit.

Here is how to call the blocks within your templates file :

Content visible to member only. Please register or login first.

About the blocks parameter :

  • view : value "clouds" or "plain", show the blocks in tags cloud model or a simple plain listings
  • title : the block title
  • max_item : number of term to show
  • min_result : number of minimal search result that will be shown (min_result = 2, mean search term that produce less than 2 result will not be shown)
  • exclude_words : if search term contains these words, then it will be not be shown

Ok, thats all.
We hope this simple blocks will be useful for you.

Related Mods
- SEO URL for Search Page
- Search Log Limiter

2 Responses to “Popular and Latest Search Blocks”



  1. ANTONY Says:

    Good job !!! Nice idea....

  2. admin Says:

    Thanks, I'm glad you like it :)

Leave a Reply