Incompatible with Block Cache
adshill - February 15, 2009 - 22:37
| Project: | Quickmenu |
| Version: | 6.x-1.4 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
For some reason the module doesn't work with Block Cacheing enabled on Firefox, Opera and IE although it continues to work fine on safari!
This is a problem for us as we have around 30 blocks on our site :)

#1
I figured that out too :/
Basically what is happening is the module calls in _quickmenu_block_view() which has a drupal_add_js function. When the block gets cached, the module doesn't invoke this function and isn't able to call drupal_add_js. So you must have block caching disabled or your menu won't be able to run... if only you could tell Drupal which blocks to cache :)
If you need block caching, a hacky possibility would be to add a drupal_add_js... drupal_add_js( drupal_get_path('module','quickmenu') . '/quickmenu.js'); to be exact in your theme.
Trevor
www.trevorsheridan.com
#2
Please provide detailed instruction. I like quick menu, but need it to work in firefox as well as safari