[support] Avoid sub-theme
Chris Miller
cjm at tryx.org
Wed Nov 20 18:34:40 UTC 2013
> From: "David Metzler" <metzlerd at evergreen.edu>
> To: "support at drupal.org" <support at 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/hook_node_view/7
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20131120/7b124e50/attachment.html
More information about the support
mailing list