How do I create a custom filter ?
Do I need to write a new module or does drupal supports creating custom filters on the fly ?
Or better still is there a module that allows creating multiple custom filters ?

thanks

Comments

yelvington’s picture

Drupal allows you to create a new filter by combining existing filters in any order you desire. If that doesn't meet your needs you have to turn to the module system in order to define new filters. The contributed modules list will lead you to many examples.

It might be interesting to have a module that allows you to write new filter code that is saved into the database, but the sort of people who write filters are going to have access to the filesystem anyway, aren't they?

alternativecatII’s picture

I would really like a Module that helps people create filters. I'd like to do something like create a category for just placing notes in a calendar. Like I could write a post, that would show up as a note in the calendar, but I don't want the calendar to pull in any other posts other than the ones under the Calendar Note category . . . or something like that.

I wonder if I could filter it so I can select what date the post goes in.

I understand you can import CiviEvents into the Calendar view, but it's kind of a pain to create a CiviEvent just for a simple note.

There's the Event Module, but it doesn't look like it's supported by Drupal 6.4 yet.