I'm trying to build my first site using a theme I've made from scratch, and everything has been working beautifully so far. However, when it came time to start creating content and placing blocks, the drag-and-drop symbol doesn't appear next to any of the blocks in the Block page.

I haven't been able to find other posts on the subject, so I apologize if this is a simple error that I'm just missing.

Any help would be appreciated. Thanks.

-AO

Comments

vm’s picture

it may be benefical to install an admin theme like rootcandy and set it as the admin theme in administer -> administraion theme rather than use your custom theme for themeing.

andrewosh’s picture

Hmm, tried using rootcandy but still no change. This happens in all themes, even Garland. Any other possible solutions?

vm’s picture

is javascript disabled in your browser?

gspencer’s picture

I've got almost the same problem here but I'm on Mac Firefox 3 and the drag-and-drop works fine for me if I switch to one of the built in themes, but I lose the symbol with my custom theme.

I'm sure the problem is in 'style.css' but I can't figure out which style I'm missing.

Switching to a different theme doesn't help because the blocks are different from theme to theme, plus I'd prefer to have this feature working in my custom theme.

Any guidance would be greatly appreciated!

-GS

-edit: JavaScript is not disabled.

vm’s picture

is the $script tag in your head tag? compare your head with the head of a core theme.

morthylla’s picture

My theme has the $script tag in header and $closure at the end (I'm sure, really sure). I even tried to put $script on bottom of page.tpl.php but it doesn't work.

I also could not collapse any collapsible fieldsets. This time the culprit was spamspan: when I disabled it all collapsible fields started to work again, but not the block page. I have the feeling that something more is wrong but how do I discover it? This installation is a upgraded Drupal (from 5.x) so maybe it is something I did wrong (but I followed the upgrade instructions).

andrewosh, at least you are not alone. :-\

morthylla’s picture

At the end I was the culprit. The problem was an php optimizer I was using. Or at least the complete problem disappeared when I uninstalled it. I even disabled all modules trying to find what was wrong.