Download & Extend

Weight module disables edit possibility on admin/content/node page

Project:Weight
Version:5.x-1.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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

AttachmentSize
weight_edit.JPG25.71 KB

Comments

#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

Status:active» fixed

#4

Status:fixed» closed (fixed)

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

Status:closed (fixed)» fixed

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

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.