Sort by term ID and displaying body text
TinySpeck - October 10, 2008 - 07:46
| Project: | Announcements |
| Version: | 6.x-1.1 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
I am customizing the display for results sorted by taxonomy terms using function _announcements_by_terms. I need to use both the abstract and body info. I was able to access the abstract using the query in function announcements_nodeapi, but I cannot figure out how to access the body information.

#1
The body is purely part of the node (as the abstract will one day become) so it would be referenced as $node->body (it may be that $node needs to be replaced with whatever the object name is).
One must be careful in using a function beginning with an underscore. Those are considered internal-use and may change, or disappear, at any moment. If there is an API function you need, you should open an issue to ask for it.
#2
Automatically closed -- issue fixed for two weeks with no activity.