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.

igor mashevskyi’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

D6 reached its EOL back in February 2016, and there is no active release for D6 for this module anymore.
Development or support is not planned for D6. All D6-related issues are marked as outdated in a bunch.

Everyone can apply the patch above (not tested by the maintainers, tested by the community) to their D6 projects.
If the issue remains relevant for D10+ versions, merge requests with proposed solutions for a new module version (D10+) are welcome in a new follow-up issue.

Thanks!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.