I have had trouble with the GUI, so I've exported the filter created thus far too work on it by hand. However, I am new to module development. I did not use the hook_install, as it seems unclear whether or not I need to do so. Now that my module is installed, several checkboxes have shown up under the "Load a Default Flexifilter" tab, each with a single character alongside, or no label at all.

Clearer instructions, or a more basic example of using hook_flexifilters that flexifilter_cite to create a module would be very helpful.

Comments

Anonymous’s picture

This post is old, but in case anyone stumbles across it:

In your hook_flexifilters you need to return an array of of filters, you most likely only use "return array('label' => 'Your filter' ...);"
In stead you should use "return array(array('label'=>...))"

Btw. This issue should probably be closed :)

jarodms’s picture

Status: Active » Closed (won't fix)

Thanks ronnil!