I would like to include the content of some CCK text fields insidde some php of the node body. Up to now it does'nt work

A very simple example to make it clear:
If I include the following in the node body

echo 'the tittle of this node is:'.$title;

I only get "the tittle of this node is: "

$title is successfully used in node template but it seems that it is not possible to use it inside the node.

Thanks in advance for your help.

Gilbert

Comments

kk-mini-pw’s picture

Have you solved this problem?
I try to do the same without any effects.
It looks like $node is not defined in php cck fields.

K.

xtfer’s picture

Have you tried...

$node->title;