Liberum Help Desk
The free, open source solution for the web-based help desk.

"Save Problem" changes

rated by 0 users
This post has 7 Replies | 4 Followers

Top 75 Contributor
Posts 3
lexguy Posted: 07-03-2009 3:53 PM

While on the page to edit, view, or submit a problem (helpdesk/rep/details.asp), after hitting the "Save Problem" changes, I would like to be taken back to the main rep menu page (helpdesk/rep). Currently, after hitting the "Save Problem" button, I'm taken right back to the problem I was just viewing. After hitting the "Save Problem" button, I'd like to be able to go right back to the rep menu or back to the problem list. How can I change that setting, or could someone please point me in the right direction?

Top 25 Contributor
Posts 7

lexguy:

While on the page to edit, view, or submit a problem (helpdesk/rep/details.asp), after hitting the "Save Problem" changes, I would like to be taken back to the main rep menu page (helpdesk/rep). Currently, after hitting the "Save Problem" button, I'm taken right back to the problem I was just viewing. After hitting the "Save Problem" button, I'd like to be able to go right back to the rep menu or back to the problem list. How can I change that setting, or could someone please point me in the right direction?

Were you able to make this happen, or does anyone know if this is possible?

 

Thanks!

Top 75 Contributor
Posts 3

I wasn't able to find a solution. I'm not too experienced with programming, and I'm not even quite sure where to begin. I never received any other responses or even a place to start. Any help would be nice...

Top 150 Contributor
Posts 2

The quickest way I've found to do this is to add a line of code, using your favorite text editor, near the very bottom of the new.asp file, just after the cnnDB.Close line of code.  (Sorry I mistated which line of code earlier.)

To go back to the menu:

if blnSubmitNew then Response.Redirect "default.asp"

To go back to the list of open items:

if blnSubmitNew then Response.Redirect "view.asp"

Top 10 Contributor
Posts 170

Thats cool.  Nice little mod. :thumbsup

Top 100 Contributor
Posts 3

This works great for a new problem, but when saving a problem in the details.asp this just freshes the screen. Where would you place the code in the details page to return the rep back to their problems list?

 

Thanks!

Top 25 Contributor
Posts 7

You will need to put in the following code in the details.asp file to send you back to the list of problems while updating a problem.

if blnUpdate then Response.Redirect "view.asp"

Top 100 Contributor
Posts 3

Thanks!! Works like a charm!

Page 1 of 1 (8 items) | RSS
Copyright © Doug Luxem 2000-2010
Powered by Community Server (Non-Commercial Edition), by Telligent Systems