The hook-node-view tag has no wiki summary.
0
votes
0answers
15 views
Override contributed module output (inline links)
I've installed the Drupal 7 port of the Node to Word module for exporting nodes as word or txt documents. The module packs two links - "Save as Word" and "Save as Text" - into the $content['links'] ...
1
vote
0answers
120 views
hook_node_view can't change content
I've read through many questions asking this same thing, but I feel like I'm doing what they are suggesting and it's still not working.
I've created a custom module and enabled it. This is my code:
...
0
votes
1answer
46 views
Place a link at top AND bottom of each node
I made some code to put a button/link at the bottom of a node. But it would be nice to place this link also at the top of the node. Would this be possible?
This is the code that places a button at ...
0
votes
1answer
92 views
How can I display Drupal comments on a separate page from hook_node_view()?
I have a custom implementation of hook_node_view() that changes the display of comments on every node. I would like to know how I can get the result of this improved hook_node_view() to be displayed ...