Dear Yebach ,
just add this in the default/school in the controller :
if request.vars.school == 'database':
response.flash = 'your_Massage!'
Notes :
check if you have {{=response.flash or ' '}} in you school page so it can
show the response you sent from the controller .
Best Regards,
On Thursday, September 20, 2012 12:05:22 PM UTC+3, Yebach wrote:
>
> Hello
>
> After a new user is created I want to show the flash message and redirect
> a user back to home page.
>
> The redirection is done with
> auth.settings.register_next = URL('school','index',
> vars=dict(school=database))
> and
> for message
> auth.messages.registration_pending ('bklabafbaklva')
>
> but the message is not shown? why?
>
> thank you
>
--