2

I have a lot of different content-types and many of them refer to other content-types.

In the administration it's becoming harder and harder to find a specific node, so I was thinking of writing my own theme and possible a module to make the administration easier.

It would be nice to have a free text search box in the administration, that would let one search for nodes of specific types. Also in the listing of found nodes it would be great to be able to add specific fields so that you could see the relation between different content-types and so on.

Right now I'm using hook_menu to add a new page with a link link for each content-type, then in the callback I collect information about all nodes using a simple db_query call and then display the result using theme('table',...).

Can anyone point me to some tutorials on how to achive this?

10

I would recommend you to have a look at the Views Bulk Operations module. With VBO you can create custom views with any exposed filters and criteria you need. VBO adds to every row a checkbox which can fire different operations which you also can define on the view itself.

  • 1
    And since it is Views based you can extend it or clone it. Building administrative pages with VBO is a breeze and they work like a charm. And Seven (the theme) is there to make the pages shine :) – Capi Etheriel Dec 22 '11 at 2:05
4
+25

In the Administration Menu project there is an add on module that allows you to replace all the admin pages with views pages. It relies on Views Bulk Operations. I imagine that it would be just a matter of changing the views that are added.

2

Beside VBO mentioned here, The module Content Type Overview might also be useful in your case.

http://drupal.org/project/content_type_overview

enter image description here

1

I would start with learning Views module. You can find a lot of learning materials on this module, for example http://dev.nodeone.se/node/701, some can be in Swedish (http://dev.nodeone.se/sv/learning-library-0).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.