SID-00840: Go To Different Web after Password changed successfully
| Status: |
Unanswered |
TWiki version: |
4.3.2 |
Perl version: |
5.8.8 |
| Category: |
CategoryAPI |
Server OS: |
SuSE Linux 10.2 |
Last update: |
16 years ago |
Is it possible to change the default Web page from “Main” after a user changes their password?
I would like to go to a different Web page that has been created and limit access to the Main Web.
--
RichardPalm - 2010-05-15
Discussion and Answer
Valid parameters are documented at
TWikiScripts. There is no redirect, but reading the code, it redirects to the web.topic of the current session. Meaning you should be able change the action URL of your
ChangePassword form to something else, such as
action="%SCRIPTURLPATH{"manage"}%/MyOpenWeb/%HOMETOPIC%. Please report back for others to learn.
--
PeterThoeny - 2010-05-15
I changed the %TMPL:DEF{"password_changed"}% in messages.tmpl.
%USERSWEB% to the desired Web Name.
The problem will be for any updates, I'll have to check the messages.tmpl.
Is there a way to create a high priority template with the same name in the data files?
--
RichardPalm - 2010-05-17
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 - 2010-07-04
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.