[drupal-devel] hook_nodeapi() view op suggestion
Vladimir Zlatanov
vlado at dikini.net
Thu Jan 27 11:34:47 UTC 2005
It might be beneficial to to add 'view_pre' and 'view_post' to the list
of possible values for op, and implement it of course. Similar to
form_*. The arguments are the same.
Some example scenarios:
* Adding topical banners before the content.
* Adding a taxonomy browser before the content.
* Adding relevant pages between the content and the footer.
You should be able to do that with the view hook, but it is easy to
get in a situation, when different nodeapi modules clash and you end
with an unwanted result.
Vlado
More information about the drupal-devel
mailing list