By 2c on
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
I've read your post twice
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.phpyou assign some values to$contentinnode.tpl.php?You might have corrupted your
template.php.Can you paste the content of your
node.tpl.php?