20 Nov
2013
20 Nov
'13
7:34 p.m.
From: "David Metzler" <metzlerd@evergreen.edu> To: "support@drupal.org" <support@drupal.org> Sent: Wednesday, November 20, 2013 10:12:56 AM Subject: Re: [support] Avoid sub-theme
You could probably implement hook_node_view in a custom module. Which will operate on all views of a node. Test on the type of the node variable and add the appropriate .js files?
https://api.drupal.org/api/drupal/modules%21node%21node.api.php/function/hoo...
Hi Dave, I've reviewed api.drupal.org, and I agree with you that this is a good approach. Thanks very much for the help, Chris.