When menus are disabled for a content type, the submenutree options appear anyway. I think this is a problem with their module, but wanted to bring it up. I have posted a bug report there as well. #349143: conflict with Menu Settings Per Content Type module

Comments

vasike’s picture

Problem : the weight of the module, Submenutree module is executed after Menu Settings per Content Type Module
Solution : change the weight of Menu Settings per Content Type Module
For example try this SQL query : UPDATE system SET weight = 10 WHERE name = 'ctm';

mrfelton’s picture

can you include this in the .install file?

Something like:

/**
 * Implementation of hook_install().
 */
function ctm_install() {
  // Ensure the ctm module runs after submenutree
  $weight = db_result(db_query("SELECT weight FROM {system} WHERE name = 'submenutree'"));
  db_query("UPDATE {system} SET weight = %d WHERE name  = '%s'", $weight + 1, 'ctm');
}
bengtan’s picture

Status: Active » Closed (duplicate)

There is a fix in the Submenutree module for this. Please see #349143: conflict with Menu Settings Per Content Type module.