Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
sunI'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?
Comment #2
Bèr Kessels CreditAttribution: Bèr Kessels commentedCurrently 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.
Comment #3
sunThis 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.