SID-01497: Change return destination
| Status: |
Answered |
TWiki version: |
5.0.1 |
Perl version: |
5.6.1 |
| Category: |
CategoryEditing |
Server OS: |
Ubuntu 8.04 |
Last update: |
13 years ago |
On twiki page/blog create site, when you save or cancel new page you get redirected to the parent of new site. But i would like to get redirected to another site. Where can i set this?
--
BostjanTovornik - 2012-07-06
Discussion and Answer
When you save a page you stay on that page by default. You can use a
redirectto parameter in edit or save to redirect somewhere else. See
TWikiScripts.
--
PeterThoeny - 2012-07-08
Where exactly do i need to put this redirectto?
--
BostjanTovornik - 2012-07-09
URL parameter, such as
yoursite.example.com/twiki/bin/edit?redirectto=somewhere.
--
PeterThoeny - 2012-07-11
Yes, but i want this redirect to happen when i click for example Cancel button, on create new site...
--
BostjanTovornik - 2012-07-11
I don't think there is control over the cancel button target.
--
PeterThoeny - 2012-07-11
I thought of override with javascript, but little problem for cancel button, because i want to redirect to fist page on new
page create and redirect to page that you are editing (and exists)
--
BostjanTovornik - 2012-07-12
Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the
TWiki consultants if you need timely help. We invite you to
get involved with the community, it is more likely you get community support if you support the open source project!
--
PeterThoeny - 2012-10-24
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.