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?
Comments
Comment #1
dlx commentedHi 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.