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 commentedthey do but I can't seem to get the insert_view to work in those :(
Comment #3
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.
Comment #5
igor mashevskyi commentedD6 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!