<HTML>
<HEAD>
<TITLE>Re: [development] Links in node view</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Carl,<BR>
<BR>
I mean content items that are rendered in a view mode. I am imagining that hook_node_view_alter() would be used to add links to the node before it’s rendered from the render array. What I don’t know how to do is add something to this array.<BR>
<BR>
Am I on the right track?<BR>
-- <BR>
Alex Adams<BR>
<BR>
hawkVision — building highly agile worlds of knowledge<BR>
A2 Technology Partners, Inc.<BR>
831-724-1397<BR>
<a href="alex@a2technology.com">alex@a2technology.com</a><BR>
www.a2technology.com<BR>
<BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"><B>From: </B>Carl Wiedemann <<a href="carl.wiedemann@gmail.com">carl.wiedemann@gmail.com</a>><BR>
<B>Reply-To: </B><<a href="development@drupal.org">development@drupal.org</a>><BR>
<B>Date: </B>Thu, 7 Jul 2011 11:29:35 -0600<BR>
<B>To: </B><<a href="development@drupal.org">development@drupal.org</a>><BR>
<B>Subject: </B>Re: [development] Links in node view<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>I need to add a link as a rendered array to node views. I have accomplished this from a page. The link calls an AJAX function and refreshes a custom module block. Now I need to put a series of links in node views. These will add records to module generated database tables based on the contents of $node, specifically $nid, then refresh a block that will reflect the new record.<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
Be careful with your language -- when I read "views" in the context of Drupal, it usually means the Views module. What do you mean by "node views?"<BR>
<BR>
<BR>
<BR>
</SPAN></FONT>
</BODY>
</HTML>