Weight module disables edit possibility on admin/content/node page
Summit - July 16, 2007 - 09:35
| Project: | Weight |
| Version: | 5.x-1.0 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
Hi,
I enabled the weight module.
After enabling, I got operations dropdown boxes where I want to be able to edit the nodes.
Shouldn't it be easier to add the operations on the left next to the checkboxes? Now I need to click into a node before I can edit it.
See screenshot for what I mean. The top-nodes have no weight enabled, so there you can see the "edit" still.
Thanks in advance!
Greetings,
Martijn
| Attachment | Size |
|---|---|
| weight_edit.JPG | 25.71 KB |

#1
I think weight dropdown is covering up the "edit"
My hack for this was to add the following to weight.module
echo "<span></span>";
after line 214
if ( in_array(strtolower($form['name'][$nid]['#value']), $weight_node_types) ) {
I am sure there is a bit more intelligent way to do this...but -- it worked for my purpose..
I hope this get fixed somehow at new version :)
#2
I no longer see this problem in 5.10. I tried two different themes. I assume it was fixed somewhere along the line (maybe core) and not closed out.
#3
#4
Automatically closed -- issue fixed for two weeks with no activity.
#5
Hi,
I'm using the module in a dutch environment, the word Edit is being replaced by Bewerken.
Therefore the weight dropdown still overlays the 'edit/bewerken' link.
I've changed the module on line #389-390 to;
$weight_selector = '<div class="weight_selector" style="display: inline;margin: 0 0 0 5px; position: absolute;">'. $weight_selector .'</div>';
this resolved my problems...
Cheers,
Bartezz
#6
I have now added a weight.css file, which gives each adopter the opportunity to alter this, but I think the default will take care of your issue.
#7
Automatically closed -- issue fixed for two weeks with no activity.