[development] problem with theme form drupal_render

Damian Adriel Perez Valdes damian.adriel at gmail.com
Fri Mar 25 22:53:58 UTC 2011


can I use other function to show messages error or successful ?



On Fri, Mar 25, 2011 at 5:15 PM, Steve Ringwood <nevets at tds.net> wrote:

>  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/190d5c0f/attachment-0001.html 


More information about the development mailing list