Hello again!

I wanted to let you know that it is not possible to disable/remove the "Mass Mail" and "Mass Contact Message" items from create event. I go to Menu, and disable these items but still they appear.

I can even move the items to hang from another place (for example from Navigation instead of from Create content) and the items appear in both places (in the new place and in create content).

I have also gone to content management/ content type, but I just can edit but no remove them.

It doesn't really bother me, but I thought it may be a bug you could easily fix.

Comments

NoahY’s picture

Status: Active » Fixed

Fixed in the dev. The custom field in the node_type table has to be changed to 1 in order to delete.

jnieto’s picture

Could you tell me more detailed information about how to delete those two items from create content, please?

Thanks.

NoahY’s picture

You could create an page node with php script to do the following:


$suc = db_query('DELETE FROM {node_type} WHERE type = "mail"');
if ($suc) drupal_set_message("node type deleted.");

You don't have to publish the node, just give it a title, set the Input format to PHP code, then click on Preview at the bottom. You should get a message "Node type deleted". Don't publish the node, just exit back to your content types page, and you should see the node type has disappeared.

jnieto’s picture

ok, that has worked, thanks a lot.

Now I decided to disable the module for some testings and find out that in the registration form "Group-email settings" still shows. I can't delete that in the way you've told me since I don't want to delete the whole node, just that section.

Do you know any way? (I don't want to try deleting things without being sure, since I wouldn't like to delete the registration node by mistake)

Thanks again for your help.

Anonymous’s picture

Status: Fixed » Closed (fixed)
jm132’s picture

Version: 5.x-1.2 » 6.x-1.0
Priority: Normal » Minor

Problem seems to be back again as I could't delete the content type after disabling Mass Contact. Did the database field thinqy, and wiped it out.

jm132’s picture

After the above, the link to create a Mass Contact Message is still there, any info on how to delete this?

Thanks in advance.

oadaeh’s picture

Are you sure you disabled it. That's standard Drupal behavior and this module does nothing to intervene.

Also, you need to uninstall it for the database table to go away.

jm132’s picture

Hi, yes it's disabled and de-installed, actualy it's not the only module with this problem (Filedepot does it to). Quite a mess when you can't even just try a module.