Recent Topics

Redirect if Message sent success

Started by on Jul 10, 2012 – Contents updated: Jan 21, 2016

Jul 10, 2012 11:44    

Hey. how can I let my page redirect automatically after a message has been set successfully instead of just receiving:


$Messages->addT_('Your message has been sent.'), 'success' );

Jul 11, 2012 16:23

add something like this right below the message string



Jan 21, 2016 00:28

In 6.7.0 at least:

  • if you're not logged in, you're redirected to the homepage after your message is sent.
  • if you're logged, you will probably se sending a Private message and you'll be redirected to your conversations list.

Did you want something more specific redirect? (please describe use case)

Form is loading...

powered by b2evolution free blog software – This forum is powered by b2evolution CMS, a complete engine for your website.