Tags:
create new tag
, view all tags

Feature Proposals » redirectto on attach

Summary

Current State: Developer: Reason: Date: Concerns By: Bug Tracking: Proposed For:
AcceptedProposal HideyoImazu AcceptedByReleaseMeeting 2016-07-15   TWikibug:Item7750 KampalaRelease

Edit Form

TopicSummary:
CurrentState:
CommittedDeveloper:
ReasonForDecision:
DateOfCommitment:   Format: YYYY-MM-DD
ConcernRaisedBy:
BugTracking:
OutstandingIssues:
RelatedTopics:
InterestedParties:
ProposedFor:
TWikiContributors:
 

Motivation

You may want to have a user attach files to Topic A on Topic B and then bring the user back to Topic B.

Description and Documentation

The upload script observes the redirectto parameter but the attach page doesn't take the redirectto parameter, hence the parameter is not handed to the upload script.

Enhancing the attach page for that is one thing. And the oops page needs to get the parameter so that clicking OK leads to the redirectto value rather than the view page of the topic.

Currently, the OK link on the oops page is simply [[%WEB%.%TOPIC%][OK]]. And there is no way to handle redirectto in the same manner as the save and the upload scripts when things go smoothly. So %REDIRECTTOURL% will be introduced and the oops script will replace %REDIRECTTOURL% with the value obtained from TWiki::_getRedirectUrl()

Examples

Impact

Implementation

-- Contributors: Hideyo Imazu - 2016-07-15

Discussion

Proposal looks good.

-- Peter Thoeny - 2016-07-15

Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2016-08-10 - HideyoImazu
 
  • 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-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.