I just started testing this module with nginx with some small changes to output in esi.theme.inc.

Menu blocks and some custom text blocks are working fine. Both work fine with simple page-specific visibility, i.e. show only on or forum.

However some core blocks, New Forum Topics and Recent Comments, do not show if set with Show Only on the Listed Pages using or forum.

I'm using the latest version from github.


brianmercer’s picture

that was supposed to be

i.e. show only on <front> or forum
Show Only on the Listed Pages using <front> or forum.

arielkung’s picture

Suscribing. Did you find any solution?

arielkung’s picture

OK, the problem is the following:

In esi.inc , line 73:

$blocks = block_list($region);
return $blocks["{$module}_{$delta}"];

That function checks visibility for block, but the module is pulling from another url than the original so it won't work.

My quick solution is using:

$block = module_invoke($module, 'block', 'view', $delta);
return $block;
mikeytown2’s picture

Version: 6.x-1.0-beta1 » 6.x-2.x-dev
Status: Active » Fixed

This has been fixed in the 2.x branch. If I am mistaken please re-open.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.