I have just upgraded to v. 5
My problem is that when I for example write an article, in the menu below. These are suppose to be link tha expand when i click them, but it seemed they arent linked?

Look at this picture:
www.nokiabilder.com/diverse/nolink.JPG

Whats wrong?

CommentFileSizeAuthor
nolink.JPG20.11 KBRob3rt

Comments

ankur’s picture

It might be something in your theme. I would suggest trying to see if the same problem happens when you use the default 'garland' theme in 5.0. It could be that something in your theme or CSS is breaking some javascript or something.

mfer’s picture

Category: bug » support

Are you using a theme from 4.7 or has the theme been upgraded for 5?

I ran into this problem when I forgot to put in the new (as of 5) phptemplate variable to have the scripts load. It's the $scripts variable and should be displayed in the head of your HTML. That and the other 4.7 to 5.0 upgrade details for themes are at http://drupal.org/node/64292.

Uwe Hermann’s picture

Category: support » bug

This might very well be a bug, marking it as such until we know better...

Rob3rt’s picture

It is not because of the theme.
I have tried downloading version 5 themes from this webpage, but when I switch tho those, It still not work.
Is there any solution to this? My webhost cannot run 4.7!

mfer’s picture

What site are you having the problem on? I registered with http://www.nokiabilder.com and am not having the problem you are showing. The theme I see is bluebreeze. I see the javascript load on the node/add/blog page and everything works as expected except from a few things which I think are due to the translation.

Rob3rt’s picture

You are on the correct site.
Thats weird.
I tried registering a new account, test.
And When I for exaple push "Skriv Ny - Blog Entry"
At the bottom, I cant click "Fil Vedlegg", this is file attatchment. I cant expand the menu below the text, where you can coose the file and such.

mfer’s picture

@Rob3rt - I can click "Fil Vedlegg" and the field expands for me without a problem.

If you view the source for the node/add/blog page do you have, in the head:

<script type="text/javascript" src="/side/misc/jquery.js"></script>
<script type="text/javascript" src="/side/misc/drupal.js"></script>

<script type="text/javascript" src="/side/misc/progress.js"></script>
<script type="text/javascript" src="/side/misc/upload.js"></script>
<script type="text/javascript" src="/side/misc/textarea.js"></script>
<script type="text/javascript" src="/side/misc/collapse.js"></script>
Rob3rt’s picture

Yes, i can se that in the source.

Any idea why it doesnt work?
I have tried diffrent computers on diffrent networks.
An I have tried both administer account and regular user account.

mfer’s picture

What browsers on what operating systems have you tried this on and it failed?

The javascript files are in the html to make it do what it should. I see the problem either being the javascript doesn't work in some case scenarios, the browsers you are using are having problems, or the javascript files listed in the head aren't actually being downloaded.

If you are using firefox you may want to check out firebug (http://getfirebug.com) and the network monitor utility part (http://getfirebug.com/net.html) to see if the javascript is in fact being downloaded. If it is we can rule out 1 of the 3 possible problems.

Rob3rt’s picture

Uhm, thsi is very weird, but after I installed Firebug, it suddenly started working!
But it also started working in IE7.

Well, i dont know what fixed it, but it works atm.
Thanks

mfer’s picture

Status: Active » Closed (fixed)

Since, at the moment, the problem seems to be gone I am setting this as closed. If the problem pops back up please reopen the issue.

Happy Drupailing