Per http://drupal.org/node/73172:

I ran into the same problem. inline.module uses the nodeapi_view hook rather than operating as a proper filter. Several other pseudo-filters, like ScriptureFilter and Insert View, do that as well.

The solution, if you really need it, is to call the inline function directly in your template snippet.

print _inline_substitute_tags($content, 'body');

... should do the trick.

I was having issues using the inline.module with Contemplate.module because check_markup() does not active the filter, only the nodeapi_view hook.

Comments

sun’s picture

I'm still developing at a low level in Drupal, but I would really like to fix this. You gave examples for pseudo-filters - can you also give examples for proper filter hooks?

Bèr Kessels’s picture

Currently this is not possible. Drupal does not offer a filter "proper" context. You don't get the $node passed along with a filter, for example.

sun’s picture

Status: Active » Closed (won't fix)

This is indeed not possible with current inline module. Inline needs a complete rework, which currently evolves in http://drupal.org/node/80170. Because inline simply can not support this now, I'm marking this as won't fix.