Closed (works as designed)
Project:
Viewfield
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
25 Jan 2009 at 21:45 UTC
Updated:
5 Feb 2009 at 17:48 UTC
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.