Tags:
create new tag
view all tags

SID-01497: Change return destination

Status: Answered 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

      Change status to:
ALERT! 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.
SupportForm
Status Answered
Title Change return destination
SupportCategory CategoryEditing
TWiki version 5.0.1
Server OS Ubuntu 8.04
Web server Apache
Perl version 5.6.1
Browser & version

Edit | Attach | Watch | Print version | History: r9 < r8 < r7 < r6 < r5 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r9 - 2012-10-24 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.