We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Redirect after avatar change? | Forum

Marcus
Marcus Jun 3 '19

Can't make this work. Id like to redirect users after they change their avatar.


public function redirect (OW_Event $event)
{


OW::getApplication()->redirect("avatar");       

}


       
public function init()
    {
        OW::getEventManager()->bind('base.after_avatar_change', array($this, 'redirect'));

       

    } 

The Forum post is edited by Marcus Jun 3 '19
Oxwall Germany Club
Oxwall Germany Jun 3 '19
Topic was moved from General Questions.