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
Comment #1
Anonymous (not verified) commentedThis 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 :)
Comment #2
jarodms commentedThanks ronnil!