My problem is this:

I have to include content (i.e. html) in node.tpl.php into a global $content variable if it is to be included in page.tpl.php.

Another way of stating the same problem is this:

The only node content that is being displayed is the content included in a global $content variable(passed from node.tpl.php to page.tpl.php).

So, the contents of the node file is not being included unless its content is passed in a global $content variable.

As far as I can remember, Drupal didn't behave like this by default, so I must have changed something to make it behave like this. The only problem is, I can't find it... any ideas?

Comments

erdemkose’s picture

I've read your post twice but still can't understand your problem or do I?

Do you mean that to display some content in page.tpl.php you assign some values to $content in node.tpl.php?

You might have corrupted your template.php.

Can you paste the content of your node.tpl.php?

+Signature------------------------+
|____________erdemkose____________|
+---------------------------------+