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
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

AttachmentSize
weight_edit.JPG25.71 KB

#1

drupalegg - August 16, 2007 - 20:01

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

NancyDru - September 12, 2008 - 22:00

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

NancyDru - September 12, 2008 - 22:00
Status:active» fixed

#4

Anonymous (not verified) - September 26, 2008 - 22:01
Status:fixed» closed

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

#5

Bartezz - December 16, 2008 - 13:28

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

NancyDru - January 1, 2009 - 23:19
Status:closed» 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

System Message - January 15, 2009 - 23:20
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.