[development] Links in node view
    Alex Adams 
    alex at a2technology.com
       
    Thu Jul  7 17:36:33 UTC 2011
    
    
  
Carl,
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.
Am I on the right track?
-- 
Alex Adams
hawkVision  building highly agile worlds of knowledge
A2 Technology Partners, Inc.
831-724-1397
alex at a2technology.com
www.a2technology.com
From: Carl Wiedemann <carl.wiedemann at gmail.com>
Reply-To: <development at drupal.org>
Date: Thu, 7 Jul 2011 11:29:35 -0600
To: <development at drupal.org>
Subject: Re: [development] Links in node view
> 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.
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?"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20110707/f7265d09/attachment-0001.html 
    
    
More information about the development
mailing list