Download & Extend

block placement displays below all blocks

Project:Block Region
Version:6.x-2.2
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

block page wieght [-10 thru 10] does not appear next to each block, but all the wieghts appear unmarked below the block names. placement seems to work, but i got tired of counting down every time i wanted to adjust placement on a theme.

this is a great idea and i wish to see it fixed and expanded to include that drag n drop feature mentioned on the module info page. good work

Comments

#1

Version:4.7.x-1.x-dev» 5.x-1.x-dev

Any news?
In 5.x this bug reproducible too.

Maybe better if you place info about it to documentation.

#2

Version:5.x-1.x-dev» 4.7.x-1.x-dev
Component:User interface» Code

I am having the same issue too. I tried to edit the css, but the blocks table seems to close and put the placement areas on the bottom. However, this is not true for the ADMIN theme, just the other themes.

#3

Version:4.7.x-1.x-dev» 6.x-2.2
Status:active» needs review

yeah, on latest version blocks are being added to bottom.
looks like weights were ommited in the 'Apply Region' code...

version: 6.x-2.2
file: blockregion.module
function: function blockregion_region_sharing ($blocks, $themes) {
line: db_query ("UPDATE {blocks} SET status = '%d', region = '%s' WHERE module = '%s' AND delta = '%s' AND theme = '%s'", $status, $match_region, $block['module'], $block['delta'], $theme);

change line to: db_query ("UPDATE {blocks} SET status = '%d', region = '%s', weight = %d WHERE module = '%s' AND delta = '%s' AND theme = '%s'", $status, $match_region, $block['weight'], $block['module'], $block['delta'], $theme);

Works for me :D

#4

Status:needs review» closed (fixed)

I've released 6.x-2.3, which integrate the bugfix to this issue that was previously fixed only in 6.x-2.x-dev.