On my site (Drupal 6.11) the drag and drop handles (crosshairs) have disappeared completely. They don't appear in the content types or blocks or menus I tried changing the themes but that doesn't make any difference. Please advise...

thanks
Selwyn

Comments

selwynpolit’s picture

I tried reloading the misc folder to see if that would help, but no luck... Is there a way to turn all javascript off in Drupal?

streever’s picture

did you try an alternate browser? perhaps the issue is local.

I provide free Drupal support on Thursdays: booking calendar coming soon.

streever’s picture

if you post a link I can look at it.

I provide free Drupal support on Thursdays: booking calendar coming soon.

selwynpolit’s picture

www.martininstrument.com

It turns out that the hosting company had the server crash and I think it may have corrupt some files. I did notice that there are some javascript files in the sites/default/files/js - kind of like 2fc404b089ce0f7f82c261758aabee55.js

Any idea what these are? hmm well in looking at one of them it references google analytics. I wonder if I disable that module if this will have an effect on the world??

gbrussel’s picture

You might have enabled JS compression (admin/settings/performance). If it's enabled, try disabling it and see if that fixes your issues. You may have to clear the cache as well.

selwynpolit’s picture

That didn't seem to help. I tried it and cleared the cache. That was a good effort. I did have it turned on. I did also disable google analytics but no improvement. What a puzzle? I'm about to start reloading files and see what kind of trouble I get into...

update: Well I updated all the files - essentially went from 6.11 to 6.12 and they came back... So that suggests a file got corrupt somehow on the webserver. (nasty!!) Interestingly fckeditor is not working either so I am replacing his files to see if that fixes him also...

update: well I went round and round and I cannot get fckeditor to work any more. It looks like he is trying to work in that he reduces the size of the text area to about 5 lines (usually shows many more lines) but that is it. I checked in php.ini to make sure I had 96MB for memory size - even tried 126MB.. No luck... Help!!!

update: I hope someone gets some benefit from this... Finally got it working - I had to change my admin theme and that got it. I set the content editing to use the admin theme also (acquia-marina theme)

thanks for all your comments.
Selwyn

sephie’s picture

I had exactly the same problem and had switched to Garland for my admin theme to try and get the handles back to no avail. After reading this I tried switching to Bluemarine and interestingly, the handles came back just as you described above - so thanks for that! But this seems really weird to me. Does anyone have a thought about what's behind the problem? I'd like to be able to use whatever admin theme I want to and get the handles back.

jgoodwill01’s picture

I was able to get this working again when it wasn't working for me by replacing the "/misc/tabledrag.js" file with a fresh version from the latest Drupal project download. Maybe this will help someone else.

Anonymous’s picture

I experienced the issue too. By replacing the js file advised, now the issue fixed.
But I'm still wondering why? as the issue happened when i put another js to use in the theme..
Or there is a conflict issue or something?

Thanks in advance for the answer.

gtothab’s picture

Hey i was having this problem and your suggestion about replacing the js file did the trick! THX a bunch.

G

geantbrun’s picture

I had the same problem (in admin/content/node-type/mycontenttype/fields, the crosshairs disappear). I found that when the Theme Developer module is disabled, it works again (crosshairs reappear). I'm using the Garland theme.
Hope this helps.

skittlyoaten’s picture

I was also having this issue, I replaced the tabledrag.js file, changed my admin theme, etc... In the end it was in fact the developer module. once that was disabled the handles returned in all their glory. thanks for the tip!

Josefine’s picture

I am working on a website that uses the latest Drupal version 6.15.

Suddenly the drag & drop cross hairs disappeared from the Blocks setting page.
None of the already mentioned tips help.

The last thing I did was adding the Views module.
Someone an idea what have caused this issue and how to solve this problem? (javascript? jquery?)

thanks,
Josefine

gianfrasoft’s picture

...in a custom theme.

Web Software Engineer at
Insem S.p.A. - www.insem.it

sgowers’s picture

I had this same problem and it was very annoying. I just solved it now...

What happened was that I was theming and wanted to get jsScrollPane working on my site... To do this I ended up placing an assortment of JS files(jquery.min.js, jquery.jscrollpan.min.js, jquery.mousewheel.js, jquery.em.js, and 1 function in its own script) in the header region on my page.tpl file(i think im missing a module that maybe could do this for me)... I had placed all of my files after <?print $scripts; ?>.... What fixed the problem was when I placed jquery.min.js BEFORE the printing of the scripts.... In later testing I just altogether removed jquery.min.js as I realized Drupal is already calling jquery and calling the min version of it was messing things up... Therefore either stacking the JS files in the right order or removing the unneeded one fixed my problem.

Hope this helps someone, Drupal.org's always been here for me.

Shayne

pluz02’s picture

Cool! thanks a lot shayne! ^_^Y

i-sibbot’s picture

To EVERYONE who has been having a problem with the drag handles in drupal. The reason is that you site is getting a javaScript error some where, prohibiting the js that applies the drag drop functionailty to not load and alter the dom (show the handles etc).

Use Firebug in FF or Internet explorer turn on JS Debugging by Tools / Internet Options / Advanced / uncheck "Disable script debuggin (internet Explorer) and uncheck Disable script debugging (Other).

This will throw up Microsofts javascript debugging window when it throws an error. Thus allowing you to trouble shoot.

For me, it was jQuery Update and the version of jquery it was pulling over.

admataz’s picture

Reverting to the version of jquery in core fixed it for me too (among other javascript dependent things the update broke)

gianchi66’s picture

That fixed it for me too. We had malware injected on our site and I deleted the files the hosting provider pointed out to me, and then reinstalled Drupal. When I checked the site administration back-end, the drag and drop crosshairs were gone and the row-weight scroll-downs had appeared instead.

I downloaded the Drupal tarball and copied over tabledrag.js file (misc/tabledrag.js), cleared the cache and the cross-hairs reappeared.

Thank you.

hazit’s picture

Sweet angel of mercy! :-) I thought I was going to be stuck with this being broken, but replacing the "/misc/tabledrag.js" file worked for me. Thank you all so much.

In my case simply enabling the Taxonomy Manager module caused drag and drop handles at admin/structure/taxonomy/[vocab] to disappear. It seems this module is incompatible with other taxonomy related features (as they say on their project page). TM also has these, but sometimes the 'native' view is faster and easier to work with.

All I had to do was recover the /misc/tabledrag.js file from yesterday's backup (before I enabled the Taxonomy Manager module) and [fingers crossed] that has restored the previous functionality (with the Taxonomy Manager module disabled, of course).

HankVanZile’s picture

I had this same problem and found out it was related to the Context module. When re-ordering some blocks I had clicked the "Show row weights" link and left it that way, which replaced drag handles with manual row weights system-wide. Going back into Context and clicking the "Hide row weights" link fixed the issue.

bdupls’s picture

gbrussel had it correct.
Go to Configuration > Development > Performance and if Aggregate JavaScript files is checked, Uncheck only this item, the other compression can stay and click save. Clear cache and the drag and drop appears.
Check firebug or inspect element as you may need to tweak the height and width of the a.tabledrag-handle .handle CSS field to allow more room.

Pepper’s picture

That was the answer for me! I'd clicked show row weight in context. Thank you so much!

tonyhrx’s picture

Your comment saved me hours of headscratching!

kailashgajara’s picture

This is what has happened. Brilliant answer. @HankVanZile You helped us out. Thanks