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.
I setup the filter
When I attempt to use
[view:my_view] in the footer area with the filter, the output is the text '[view:my_view]'
<?php
global $user;
if ((arg(0) == 'node') && (is_numeric(arg(1)))) {
print '<center>'.views_embed_view('my_view', 'block_1', arg(1)).'</center>';
}
?>
Comments
Comment #1
PasqualleI guess view fields (footer, header, empty text) do not support input filters.
Comment #2
SocialNicheGuru CreditAttribution: SocialNicheGuru commentedthey do but I can't seem to get the insert_view to work in those :(
Comment #3
manoloka CreditAttribution: manoloka commentedI used this snippet
Comment #4
frobthis could also be a bug in the way the views module display's empty/header/footer/text. Not necessarily a problem with this module.