Re: [development] problem with theme form drupal_render

2011-03-25 Thread Carl Wiedemann
> > Instead of "print $messages", please try "drupal_set_message($message)" This should NOT be used in the theme layer. The $messages variable is already set for the current request and will not be rendered until the following request. If you don't see $messages in your template, it's likely tha

Re: [development] problem with theme form drupal_render

2011-03-25 Thread Austin Einter
Instead of "print $messages", please try "drupal_set_message($message)" Thanks Austin. On Sat, Mar 26, 2011 at 3:25 AM, Damian Adriel Perez Valdes < damian.adr...@gmail.com> 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 ? > >

Re: [development] problem with theme form drupal_render

2011-03-25 Thread Damian Adriel Perez Valdes
can I use other function to show messages error or successful ? On Fri, Mar 25, 2011 at 5:15 PM, Steve Ringwood 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 hav

Re: [development] problem with theme form drupal_render

2011-03-25 Thread Steve Ringwood
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*

[development] problem with theme form drupal_render

2011-03-25 Thread Damian Adriel Perez Valdes
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*