[rt-users] Performing action and returning to home page
Ruslan U. Zakirov
Ruslan.Zakirov at miet.ru
Sun Jun 19 12:56:16 EDT 2005
Adrian Carter wrote:
> I want to make a 'delete' button in the front page for the "10 Oldest
> tickets in XXX" I have created. I've made a button that links to a
> Modify link that then alters the ticket, but then it leaves you sitting
> on the equivalent ofthat tickets basics screen
>
> How can I make it reload to the Home page, both this, and a couple of
> other functions i want to do (within a search results page, similar
> thing...)
You can copy <%INIT> block of the modify.html then simplify it to do
only what you want and add $m->redirect call as last command. As point
of redirect you can use HTTP_REFERER http header field or $RT::*URL
config options. See other html page for standard way to construct RT URL.
>
> RT 3.4.2/Debian-Sarge/Apache2-FCGI/Perl5.8.4
>
More information about the rt-users
mailing list