Posted by trojan99 on March 27, 2007 at 7:23am
Jump to:
| 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
Any news?
In 5.x this bug reproducible too.
Maybe better if you place info about it to documentation.
#2
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
yeah, on latest version blocks are being added to bottom.
looks like weights were ommited in the 'Apply Region' code...
version:
6.x-2.2file:
blockregion.modulefunction:
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
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.