Hello! I'm working on my first drupal-based website. I can't find solution (I've searched that forum too) for my problem, then I ask:
I use:
Drupal v. 6.12
Dynamic Persistent Menu (great module!)
I had drupal with my own theme installed (on localhost) and all was cool, but after install drupal on webserver, copy files from localhost and move (export/import with phpmyadmin) database I have one problem with Javascript on sites/pages other than starting page. When home page (ex. www.example.com) is loaded Dynamic Persistent Menu works properly (script are loaded), but when I click other pages (ex. www.example.com/page, www.example.com/page/subpage - friendly links are enabled) then DPM not works (no scripts loaded). I've notice in source in head area tags with scripts are missing. This problem occurs in FF/IE7, but only when I'm logged out (anonymous user). When I'm logged in website works properly.
I my page.tpl.php I have line
<?php print $scripts ?>
I don't use other custom javascripts.
missing scripts:
jquery.js
drupal.js
language script
dynamic_persistent_menu.js
What I must to do to fix this problem?
Thanks for help/answers.
Bart
Comments
=-=
What I'd try:
clear the cache in administer -> performance
reset the theme registry by going to adminsiter -> themes and resaving your theme as the default.
Thanks for the answer, but I
Thanks for the answer, but I find the bug and solution:
I'd turned off the block cache function In Administer / Site Configuration / Performance / and DPM works properly!
BTW, it is normal behaviour of this block (primary links + DPM)?
=-=
I don't use DPM. I assume you have your primary links in a block and that may be where the interfence is coming from when block cache is enabled.