Created
February 1, 2012 22:33
-
-
Save dergachev/1719894 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
return array( | |
'#theme' => 'node_article', | |
'#article_title' => $node->title, | |
'#article_body' => $node->body, | |
'#attached' => array( //special property to attach a CSS or JS file to a template | |
'css' => array( | |
'/sites/all/modules/ew' . '/ew.css', //use drupal_get_path() instead | |
) | |
) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment