Support  :: 
Meta Tag Redirect -> How?
 Top

  • I'm trying to setup a meta tag redirect.

    I'm using the dq_helpdesk modules. When a ticket is opened and email is sent to the user with a link to the ticket. later if the user clicks on the link (and is not already logged into PostNuke, it prompts them to login. I would like it, after they log in, to automatically redirect them to the link they clicked on in the email.

    Can anyone give me a basic run down on how to setup a meta tag redirect in the user.php file?

    Thanks in advance.
  • In your login form, include a hidden URL input - the user will then be redirected to the URL after logging in.

    --
    Regards,
    Simon

    itbegins.co.uk - Zikula Consulting

    Please read the Support Guide
  • Thanks, this makes sense now. but what's the PHP code to pull the URL they just clicked on to get there?
  • $_SERVER['PHP_SELF'] should give the current URL.

    --
    Regards,
    Simon

    itbegins.co.uk - Zikula Consulting

    Please read the Support Guide
This list is based on the users active over the last 60 minutes.