We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 29661
    • 116 Posts
    Yup, maybe it should persist all get params at default, updating line 21 to this:

    $getParams = array_merge($_GET, array($this->getProperty('successKey','updpsuccess') => 1));
    $url = $this->modx->makeUrl(
        $this->modx->resource->get('id'),
        '',
        $getParams,
        'full'
    );
    


    shoud do the job...
      --
      John
      @theboxer
      • 10378
      • 375 Posts
      This is actually the full working post hook for the UpdateProfile snippet - ready for copy and paste:

      $params = array(
          $modx->getOption('successKey', null, 'updpsuccess') => 1,
          'val1' => $_GET['val1'],
          'val2' => $_GET['val2'],
          'val3' => $_GET['val3'],
      );
      $url = $modx->makeUrl($modx->resource->get('id'), '', $params, 'full');
      $modx->sendRedirect($url);
      
        Freelancer @bitego http://www.bitego.com
        ---
        GoodNews - one of the most advanced and integrated Group Mailer premium add-ons for MODX Revolution!
        More infos here: http://www.bitego.com/extras/goodnews/