When I go to content management (/admin/content/node), I don't see any weight drop-downs for nodes under 'Operations'. I'll try to investigate further.
When I go to content management (/admin/content/node), I don't see any weight drop-downs for nodes under 'Operations'. I'll try to investigate further.
Comments
Comment #1
add1sun commentedDid you run the db setup at admin/settings/weight > db setup tab?
Comment #2
drupalegg commentedI ran the db setup - but still do not see dropdown menu. Any idea?
Comment #3
drupalegg commentedI looked at the code weight.module...
-- I changed code:
to
To make it work. Unfortunately, this will remove the filter to "only add weight selector if weight is enabled for this node type"
Since I am using "weight" for all the content type, this was not an issue.... sorry I had limited time to make this work...
Also "echo "";" to make sure "edit" is visible under operation.
I hope this make sense...
Comment #4
MattKelly commentedadd1sun,
Yes I have. I've also confirmed that the nodes are selected under the settings tab. I'll give drupalegg's code change a look soon.
Comment #5
matt@antinomia commentedHrm, I think the problem might be a bit deeper than drupalegg suggests:
$weight_node_types is an array of machine-readable node type.
$form['name'][$nid]['#value'] is the human-readable name of the node type.
Unless the machine- and human- readable versions of the node types are matching, the drop-down won't appear...
I'm not sure what the appropriate fix for this is... Just posting my findings. Will report back if I'm able to fix it.
Comment #6
VLAD_X@drupal.ru commentedTry this fix:
Comment #7
nancydru@VLAD_X@drupal.ru: Thank you for the patch. With it and removing the strtolower, this now works.
If I get CVS access, this will be fixed.
Comment #8
nancydruComment #9
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.