drupal-planet
Theme views search results just like core
The views module is often used in place of or in addition to Drupal's core search module or other search modules when more control is required. By adding exposed filters, a site's visitors can narrow a search by the value of any field and many node object values.
The results can quickly be themed to highlight the search keys just like core search.
Add a views display as a tab to a forum listing.
I've been building the community pages for a client's site where one of the most popular areas is the forum. The design called for the forum listing to be the default menu tab with a second tab for searching the forum. I wanted to use a view with an exposed filter to search the site index and limit the results to this specific forum.
User profile tabs mélange
Drupal's profile module is basic, but sometimes it's just right for the job. You can add categories that appear as tabs when you edit your profile, and you can add a variety of basic fields to the categories.
Fuzzy Search now with fuzzy misspelling corrections
Using the Fuzzy Search module, misspelled search keywords now highlight the correctly spelled word in the text. Usually. It is fuzzy after all.
This is currently in the dev version only.
Fuzzy search module ported to Drupal 6
I've just released a Drupal 6 version of the Fuzzy Search module. The module works independently of Drupal's core search, using its own index and settings.
Fuzzy means that it will return partial matches. If you search for treat, it would match treatise, treatment and treating. It also sorts results based on how accurate the match is. Treat would sore higher than treatment, becase treat matches the full keyword in your search.
Illegal choice error in Views exposed filter of user reference field using a view of Organic Groups group members
Wow, how is that headline for a bunch of Drupal gobbledygook jargon?
To break it down, I have a content type with a cck user reference field.
That field's options are populated by the results of a view.
That view builds a list of users who belong to the same Organic group as the active user. It has a argument that supplies the user's group by default. That works fine because users can only belong to one group on this site.
But anonymous users don't belong to groups, so no results are returned.
Adding a group chat to Drupal
I was recently asked to add a chat module to the community section of the website of a major disease research foundation. I had built the site as a subcontractor for one of my main clients.
We started looking at Drupal native chat modules, and followed this routine:
Make a module use a custom node template
On my list of 2010 New Year's todo's, not necessarily resolutions, is to start a blog here. So let's jump right in.
I wanted to have better search for a new project I'm working on, but I'm not quite sure I need apache solr yet. So I found a Drupal 6 version of the Fuzzy Search module and started playing around.
One nice thing that any search should have is results that show why the item is a result. Fuzzy Search needed this, so I started tinkering.
