Block refresh is working great, except on taxonomy/term pages.
The request for block_refresh/[module]/[block]/taxonomy/term/[termID] eg block_refresh/radio_schedule/onair_custom_block/taxonomy/term/69
returns the whole rendered page for /taxonomy/term/[termID] rather than the rendered block.
You can see this on my live site: http://www.2gb.com/block_refresh/radio_schedule/onair_custom_block returns the rendered block, while
http://www.2gb.com/block_refresh/radio_schedule/onair_custom_block/taxon... returns the whole page for that term.
I have stopped this wrecking the taxonomy/term pages by filtering 'taxonomy' out of the callback path in block_refresh.js :
//Get argument from referring page and append to end of load request
args = '';
$.each(Drupal.settings.block_refresh.args, function(index, arg) {
if (arg != 'taxonomy') {
args += '/'+arg;
}
});
But this feels like a nasty hack to me ;)
Any idea what's going on?
Comments
Comment #1
tripper54 CreditAttribution: tripper54 commentedThis was due to global redirect messing with the path with its "taxonomy term path handler'.
I will put a note in the readme to watch for this.