[development] $content shows in devel but not in page.tpl.php

Carl Wiedemann carl.wiedemann at gmail.com
Tue Oct 26 18:43:08 UTC 2010


This might be a typo, but in your initial message you misspelled $content.
Misspellings and typos could be the problem, and are also elusive.

I would inspect what is happening in the template_preprocess_page() function
for the theme. See what is populated in the template $vars.

2010/10/26 Lluís Forns <enboig at gmail.com>

> My theme (a mod of acquia_prosper) don't show node content. With devel
> I see $content; if I insert a die($content) in node.tpl.php everything
> is correct; but when inserting die($conent) in page.tpl.php content is
> gone
>
>
> Any hint? I have no idea of where to look.
>
> --
> *Les normes hi són perquè hi pensis abans de saltar-te-les
> *La vida és com una taronja, què esperes a exprimir-la?
> *Si creus que l'educació és cara, prova la ignorància.
> *La vida és com una moneda, la pots gastar en el que vulguis però
> només una vegada.
> *Abans d'imprimir aquest missatge, pensa en el medi ambient.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20101026/91120b96/attachment.html 


More information about the development mailing list