Last active
December 19, 2015 17:29
-
-
Save mynameispj/5991369 to your computer and use it in GitHub Desktop.
Drupal 7 -- Node_load and then render() some content
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 | |
$front_page = node_load("111"); | |
$page_intro = field_view_field('node',$front_page,'field_page_intro'); | |
print render($page_intro); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment