Jump to content

dologin question


Recommended Posts

On the portal theme there is a login form on the left side.


The form action is setup as so:


<form action="dologin.php" method="post">


Would it be possible to somehow within the template set it up to do something like this:


<form action="dologin.php?goto=tutorials" method="post">


But pull the "tutorials" direct from the url which in this case would look something like:




This would need to take place within the smarty template.


Why would I want to do this? Well It probably would not happen to much but if someone went to a page that was setup where you had to login in first, and they used the left login instead of the body login, they would be redirected to client area instead of where they wanted to be going, in this examples case, the "tutorials" page.


I would like to know if this is possible and if you might know how with an example that would be great.





Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated