Posts Topics Forums Images
Search videos from message boards Videos Search messages from microblogs Microblogs Search messages from imdb.com Imdb Search messages from yuku.com Yuku Search messages from lefora.com (free forums) Lefora
My account: Login | Sign Up
Loading... 

Thread: Use custom node template that uses custom field template

Started 1 month, 2 weeks ago by AndyF
Hi all I'm a beginning themer and have a couple of questions. I have a custom template for my news_article content type. I use it to automatically insert details like agency source (eg Reuters) and date at the beginning of the text, and to construct a reference line at the end (eg. reuters/af/ss/1720h). I have that working, though I'm a bit worried about using $node->content['body']['...
Site: Forums | drupal.org  Forums | drupal.org - site profile
Forum: Theme development  Theme development - forum profile
Total authors: 2 authors
Total thread posts: 3 posts
Thread activity: no new posts during last week
Domain info for: drupal.org

Other posts in this thread:

nevets replied 1 month, 2 weeks ago
Take a look under $node->content

AndyF replied 1 month, 2 weeks ago
Thanks (again!!!) that did the trick. For the record I'm using $node->content['field_link_article']['#children']; to access the field as formatted by my custom template content-field-field_link_article.tpl.php .

 

Top contributing authors

Name
Posts
AndyF
2
user's latest post:
Use custom node template that...
Published (2009-11-09 05:54:00)
Thanks (again!!!) that did the trick. For the record I'm using $node->content['field_link_article']['#children']; to access the field as formatted by my custom template content-field-field_link_article.tpl.php .
nevets
1
user's latest post:
Use custom node template that...
Published (2009-11-09 05:05:00)
Take a look under $node->content

Related threads on "Forums | drupal.org":

Related threads on other sites:

Thread profile page for "Use custom node template that uses custom field template" on http://drupal.org. This report page is a snippet summary view from a single thread "Use custom node template that uses custom field template", located on the Message Board at http://drupal.org. This thread profile page shows the thread statistics for: Total Authors, Total Thread Posts, and Thread Activity