Text I put into the body of a schedule node doesn't seem to be shown anywhere.

If that's meant to happen, then the body field shouldn't be shown when the schedule node is edited.
On the other hand, I can see a use for the body field in certain cases -- for example to something like "This is our schedule during the Christmas break."

CommentFileSizeAuthor
#3 station_schedule_185118.patch1.08 KBdrewish

Comments

drewish’s picture

yeah that's a bug. it should show the body text if it's been enabled.

joachim’s picture

Looking at http://api.drupal.org/api/function/hook_view/5, I think you're missing a call to node_prepare.

Adding this right at the top of station_schedule_view() fixes it:

  $node = node_prepare($node, $teaser);
drewish’s picture

Status: Active » Fixed
StatusFileSize
new1.08 KB

cool, committed the attached patch to HEAD.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.