MOVEDMESSAGE is set to inform users of the new location.
For scheduled downtime & temporary maintenance it is better to use the read-only skin mode of the TopMenuSkin or PatternSkin instead of this MovedSkin. For this, define a BROADCASTMESSAGE setting and a Set READONLYSKINMODE = 1 setting in Public.TWikiPreferences.
on TWiki.org for more information.
MovedSkin.zip in your twiki installation directory. Content: | File: | Description: |
|---|---|
pub/TWiki/MovedSkin/*.png | Screenshots |
lib/TWiki/Contrib/MovedSkin.pm | Skin Perl module |
templates/view.moved.tmpl | Skin template file |
data/TWiki/MovedSkin.txt | Skin topic |
* Set MOVEDMESSAGE = __NOTE:__ The %WIKITOOLNAME% site has been moved to a new location. The page you are trying to access is now at: %BR%%BR% http://twiki.example.com/do/view/%WEB%/%TOPIC%. %BR% Please update your bookmarks. %BR%%BR% Questions? Ask %WIKIWEBMASTER%
The view/%WEB%/%TOPIC% makes sure that the user ends up the new location of the current page.
If you want the page to redirect automatically to the new site you can add a meta tag to the MOVEDMESSAGE setting. This example redirects after 5 seconds:
<meta http-equiv="refresh" content="5;url=http://twiki.example.com/do/view/%WEB%/%TOPIC%" />
2. Test the yellow moved message box: * Set SKIN = moved
TWikiSkins has details on skin activation.
| Skin Author: | TWiki:Main.PeterThoeny |
| Copyright: | © 2012 Wave Systems Corp. © 2012 TWiki:Main.PeterThoeny © 2012 TWiki:TWiki.TWikiContributor |
| Sponsor: | Wave Systems Corp. |
| License: | GPL (GNU General Public License ) |
| Description: | Inform users that a TWiki site has moved to a new location |
| Screenshot: | |
| Preview: | Preview with this topic |
| Base Name: | moved |
| Skin Version: | 2012-12-16 |
| Change History: | |
| 2012-12-16: | TWikibug:Item7085 |
| Dependencies: | None |
| Skin Home: | http://TWiki.org/cgi-bin/view/Plugins/MovedSkin |
| Feedback: | http://TWiki.org/cgi-bin/view/Plugins/MovedSkinDev |
| Appraisal: | http://TWiki.org/cgi-bin/view/Plugins/MovedSkinAppraisal |
|
Copyright © 1999-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Daya Bay? Send feedback Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.MovedSkin. |