Closed (fixed)
Project:
Exclude Node Title
Version:
7.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Feb 2011 at 21:03 UTC
Updated:
12 May 2014 at 21:47 UTC
Jump to comment: Most recent
Comments
Comment #1
gabrielu commentedYou have to replace the function definition in exclude_node_title.module:79 from:
to:
Comment #2
gabrielu commentedMaybe this isn't related to Exclude node title, as hook_node_view() should have all three arguments passed, see http://api.drupal.org/api/drupal/modules--node--node.api.php/function/ho...
Comment #3
gabrielu commentedComment #4
rooby commentedI have run into this with porting the location module too.
It seems to doco is wrong and there are only 2 params.
If you look at the implementations of blog_node_view(), forum_node_view() etc they only have 2.
I opened a doco issue here - #1102556: hook_node_view (maybe) has only two arguments
Comment #5
gabrielu commentedYou are absolutely right, I must update the hook.
See latest DEV release.
Thanks,
Gabriel
Comment #6
gabrielu commented