Closed (won't fix)
Project:
Menu Settings per Content Type
Version:
6.x-1.0
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Apr 2009 at 12:06 UTC
Updated:
2 Aug 2013 at 03:44 UTC
After installing the module and selecting only 1 menu for a content type. Still when creating a new content type ALL menus are available. Module seems not do no anything accept making a new menu....
| Comment | File | Size | Author |
|---|---|---|---|
| 9-4-2009 14-03-40.png | 11.56 KB | open social |
Comments
Comment #1
vasikedo you have installed any other menu module related?
if yes please change (increase) the weight of the ctm module
Comment #2
open social commentedNope. I tried Auto Menu afterwards, but it didn't work either (only selection of Navigation menu).
Comment #3
vasikeComment #4
open social commentedWhat more info do you need?
Comment #5
vasikewhat modules do you have installed or were installed? how about their weights?
The menu settings for your content types.
Comment #6
alexPalumbo commentedHi , I have exactly the same problem , i have set the weight of the module to -1 but it's still not working
Regards
Alessandro
this is a list of the enabled modules
Drupal core
Drupal 6.13
Includes: Block, Color, Database logging, Filter, Help, Locale, Menu, Node, Path, System, Taxonomy, Trigger, Update status, Upload, User
Modules
Advanced help 6.x-1.2
Includes: Advanced help, Advanced help example
Content Templates (Contemplate) 6.x-1.1
Includes: Content Templates
Content Construction Kit (CCK) 6.x-2.4
Includes: Content, Content Copy, Content Permissions, Fieldgroup, Node Reference, Number, Option Widgets, Text
Menu Settings per Content Type 6.x-1.0
Includes: Menu Settings per Content Type
Date 6.x-2.3
Includes: Date, Date API, Date Locale, Date Timezone
Devel 6.x-1.16
Includes: Devel
Email Field 6.x-1.2
Includes: Email
FileField 6.x-3.1
Includes: FileField
FileField Paths 6.x-1.3
Includes: FileField Paths
ImageField 6.x-3.1
Includes: ImageField
Link 6.x-2.6
Includes: Link
Utility 6.x-2.3
Includes: Access Permissions Fieldsets Manager, Module Weights, System Module, Util
Token 6.x-1.12
Includes: Token, Token actions
Update availablewarning
Transliteration 6.x-2.0
Includes: Transliteration
Validation API 6.x-1.0
Includes: Validation API
Views 6.x-2.6
Comment #7
vasikeyou have to set the biggest weight possible for this module
Comment #8
jdelaune commentedI ran into the same issue. May I suggest you add this line to your ctm_install(); function:
Comment #9
alan d. commentedHow about something like this? (Cut n' paste from one of my modules)
This maintains a list of modules that cause issues (I only added the menu module, as I do not know the full list), and sets the weight to be 2 greater. Hardcoding 100 only works when all others are less than 100. I have seen weights of up to 999 (rare but these do happen).
Setting weight too high may cause issues with other modules that are unrelated to the menu system.
Comment #10
Tino commentedModule did not work until I used phpMyAdmin to query:
UPDATE `my_drupal_database`.`system` SET `weight` = '100' WHERE `system`.`filename` = 'modules/ctm/ctm.module';Thanks for the hint in #8 Starnox!
This module was just what I needed.
Comment #11
vasikei thought a lot and i believe the solution it's to change the weight of the module that fits your drupal configuration, it could be done as shown above or with the Utility module (Module Weight) : http://drupal.org/project/util
Comment #12
stephen ollmanSetting the weight value to 100 using 'phpmyadmin' worked for me......clear cache also.
SELECT * FROM `system` WHERE name like '%ctm%'
UPDATE `gta_drupal`.`system` SET `weight` = '100' WHERE `system`.`filename` = 'sites/default/modules/ctm/ctm.module';