Here is a small patch which allows the user to add either the body or the teaser to a list or table view.

CommentFileSizeAuthor
views_body.patch.txt2.14 KBgordon

Comments

ashtonium’s picture

Status: Needs review » Needs work

I've successfully applied the patch to the views_node.inc file, but I'm not seeing the new options in the Add Field list.

Tobias Maier’s picture

untested but usefull

Tobias Maier’s picture

did you clear your cache?

ashtonium’s picture

Status: Needs work » Needs review

ah, there we go. Truncated Drupal's cache table, and the new items showed up.

For future reference, what else does the views module cache?

merlinofchaos’s picture

Status: Needs review » Fixed

Committed the patch.

Views caches all of the information provided to it by itself and modules so that it doesn't have to reconstruct it every page load.

If you ever updated views or a module that uses views in any way, this info needs to be cleared. Submitting your modules page should be sufficient.

Anonymous’s picture

Status: Fixed » Closed (fixed)