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

Pasqualle’s picture

I guess view fields (footer, header, empty text) do not support input filters.

SocialNicheGuru’s picture

they do but I can't seem to get the insert_view to work in those :(

manoloka’s picture

I used this snippet

<?php
$view = views_get_view('my_view_name');
print $view->execute_display('page_1');
?>
frob’s picture

this could also be a bug in the way the views module display's empty/header/footer/text. Not necessarily a problem with this module.