Viewfields won't display
rry - January 25, 2009 - 21:45
| Project: | Viewfield |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | by design |
Jump to:
Description
I added a viewfield to a node type, then inserted the view into the template using this PHP code:
<?php print check_plain($node->field_writingview[0]['value']) ?>
When I go to look, I get an error message and a blank display. How do I go about fixing this?

#1
Hi Rory,
As far as I understand, viewfield has to be inserted into a content type as a CCK field. After that, you'll be able to pick a view from a list of views in a node editing mode. As well, you'll be able to provide arguments there.
Sincerely,
Alex.