Hi

My admin theme does NOT have the drag and drop handles
to reposition blocks within a sidebar.

Can't see any other means by which to customize the order of
the blocks.

How do I make them "drag and dropable" or is there another
suggested workaround.

thanks.

Comments

jordojuice’s picture

Some themes do not support this. There should be a weight setting, though. The lower the weight the higher it will appear in the list.

TWD’s picture

Well when I click the link "configure" next to the block name I go into a screen
(my Admin theme is Garland btw so this is the stock Drupal theme)
but there are no "weighting" options.

"Site Building / Blocks" lists all the blocks in my Custom theme,
with no drag and drop handles.

Am I missing something?

TWD’s picture

OK. I found my answer to this.
It's quite a neat trick.

If your drag and drop Block handles are not available
and the "weight" fields are not exposed in your theme,
all you need to do is disable JavaScript in the browser
and then reload the page. The weighting controls
are now visible.

Make you changes, save, re-enable JavaScript and refresh the page.
Easy.

http://drupal.org/node/284511

jordojuice’s picture

Oh! What a good idea! Themes simply hide weight form elements if JavaScript is enabled and not permanently through CSS. Nice!

olyerickson’s picture

Unfortunately the suggested solution doesn't work for us. We've tried it with Javascript turned both on and off (in Chrome) and still don't see the drag and drop handles. See http://yfrog.com/j5sz5p

FYI, we are trying to repair the positioning of the logged-in user info block in the Commons Connect theme; it installed having the block to the far right of HEADER, and now due to hacking is just below it (but is still wrong).

olyerickson’s picture

We solved our issue by looking in the correct place and using the correct tool...

Administer > Site building > Context > Sitewide > global > edit > (click on Block)

...then:

* Delete the "User Login" and "User Meta" elements from the incorrect block (in the case above, SIDEBAR LAST)
* Add them to the Header block

Note: after some sleuthing, we've determined that Commons had the nesting right, but "block-views-user_meta-block_1" is being set to 480px instead of 270px (or whatever), pushing the user info to the far right. I think this is a Fusion error rather than a Commons error, because Fusion I think supplies the rules for setting the size (grid16-8 vs. grid16-0)