I want to extend the search form at admin/content/node by adding an additional popup-menu to select a workflow state. It seems to me that I have to alter the form node_filter_form(). Is this correct?

The function node_filter_form() calls node_filters() so it looks as if I had to add my filter in the latter function. How would I do this?

Is there an example somewhere that illustrates how the search form can be extended?

Many thanks,
Kaspar

Comments

aquariumtap’s picture

Hi Kaspar,

Did you have any luck with this? I'm interested in doing the same thing, adding a filter for workflow in admin/content/node. If it hasn't already been done, we'll probably end up coding it and I'd be happy to share.

Jason

svogel’s picture

... but: me too! :-)

So anyone got any luck in this?
It seems to me, that it is not possible to hook into this function.

Best regards
Stefan

martysteer’s picture

My colleague has had this exact problem, except he wants to add a keyword search filter option to the "Show only items where" form group of the admin/content/node page.

There is a module called 'Taxonomy Node Operations', which adds some bulk update options to drupal's admin, and the ability to keyword search your content, then group tag the results, would be kind of handy for the sort of 'grounded theory' qualitative research methodoligies we would like to use to develop taxonomies.

I will refer him to this post. But does anyone know of something similar being developed by the community?

swentel’s picture

I've been looking for this too and it simply isn't possible in D5 or D6 without patching core. I wrote 2 small patches for them, you can read my article at http://realize.be/extend-node-filters-form

I also filed a support request to get this in D7 : http://drupal.org/node/241964