Hey there,

a problem occured with a theme I developed: Drupal loads JQuery with $script-variable only if you're logged in as administrator. HTML-source code for guests: <script>-tag is empty.
What is possibly wrong?

Thanks
Chris

Comments

hferree’s picture

Do you have any jquery modules/plugins that need permissions added?

Are any of the $script-variables wrapped in a tag to display only if admin?

Does this happen in the major browsers? (I always test with Safari and Firefox..IE is a good one too if your PC)

Is this code in a node or in the actual page.tpl.php? If it's in a node, does it work if you change the theme to garland?

Good luck,

Holly Ferree
designbyholly.com

Chris_Bones’s picture

Thanks Holly,

I figured out that I have to had my jquery lib in the info-File. Afterwards everything worked fine!