[development] problem with theme form drupal_render

Steve Ringwood nevets at tds.net
Fri Mar 25 22:15:27 UTC 2011


As far as I know $show_messages and  $messages only exists in page.tpl.php

On 3/25/2011 4:55 PM, Damian Adriel Perez Valdes wrote:
> hi:
>
> i have a problem. I have a theme for my form, but I can't show the message error. What can I do ?
>
> thanks.
>
>
> *form.tpl.php*
> <?php if ($show_messages && $messages): print $messages; endif; ?>
>
> <?php echo drupal_render($form["nombres"]); ?>
> <?php echo drupal_render($form["submit"]); ?>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20110325/ef45a74c/attachment.html 


More information about the development mailing list