Closed (fixed)
Project:
Content Construction Kit (CCK)
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
20 Feb 2006 at 10:34 UTC
Updated:
9 Mar 2006 at 12:00 UTC
Hi,
Just a little question... how to call a field in my php template?
With flexinode I did print $node->flexinode_7 for instance, but what is the correct syntax for cck?
Thanks
Comments
Comment #1
jonbob commentedYou should be able to use
in this case. No more remembering which field is which number!
I highly recommend installing devel.module when doing development with 4.7. It adds an "object structure" tab when viewing a node that allows you to see all of the pieces of information you can display in your theme.
Comment #2
jonbob commentedComment #3
Julien PHAM commentedComment #4
(not verified) commented