[development] [support] mass removal of content types

Laura pinglaura at gmail.com
Thu Oct 14 00:06:15 UTC 2010


On Oct 13, 2010, at 5:58 PM, Pierre Rineau wrote:

> On Wed, 2010-10-13 at 20:47 -0300, Gastón Pablo Pérez wrote:
>> Hi!
>> 
>> I need to know if there is an special module or a simple way to remove
>> all contents of a particular type of content. I mean I need to delete
>> hundreds of products in my ubercart, so I need to delete all nodes
>> that corresponds to node type product, and i need to do this work in a
>> simple way.
>> 
>> Thanks in advance
>> 
>> best regards
>> 
>> "La perseverancia es un árbol de raíces amargas, pero de frutos muy
>> dulces."
> 
> May be the devel module would carry such feature. You should check it.
> 
> Another solution is to use Views Bulk Operation, with it, you will be
> able to create a node view based on content type and other filters, then
> delete all of them in one batch.

You can do this with content administration in Drupal core. Filter by content type, select all and delete. Repeat for each page. VBO will allow you to load them all in one page, and it's useful anyway, so you may opt for that anyway.

Laura



More information about the development mailing list