hi,
very nice module, congratulation for the excellent work. I'm currently using you module in my site but I need more filters, so I wrote this tiny patch to let other modules implement a hook_advuser and extend the filters form:
--- sites/all/modules/advuser/advuser_filters.inc.orig 2009-02-22 17:05:04.000000000 +0100
+++ sites/all/modules/advuser/advuser_filters.inc 2009-02-22 17:29:16.000000000 +0100
@@ -180,6 +180,13 @@
'EN' => 'ends with'")
),
);
+
+ // invoke advuser API
+ foreach (module_implements('advuser') as $name) {
+ $function = $name.'_advuser';
+ $function($form);
+ }
+
return $form;
}
bye,
Maurizio
Comments
Comment #1
mauriziopinotti commentedehm.. too much hurry :) disregard previus post, this patch should do the trick!
Comment #2
Anonymous (not verified) commentedComment #3
Anonymous (not verified) commentedPushing feature request to 7.x version.