Difference: ManagingWebs (15 vs. 16)

Revision 1614 Sep 2001 - MikeMannix

Line: 1 to 1
Deleted:
<
<

Warning: Can't find topic TWiki.UtilTempDocNote

 

Managing Webs

Changed:
<
<
Adding, renaming and deleting webs is done directly on the server
>
>
Adding, renaming and deleting webs are manual operations done directly on the server
 

Overview

Changed:
<
<
Managing TWiki webs requires direct access to the installation files on the host server. There are no browser-based web tools.
>
>
Managing TWiki webs requires direct access to the installation files on the host server. There are currently no browser-based equivalents of the Rename/move/delete topic tools for working with webs.
 
Changed:
<
<

How to Add a New Web

>
>

Adding a New Web

  Adding new webs is quick and easy - you can have a basic web up and running in a couple of minutes:
Changed:
<
<
  1. Create a new directory under twiki/data/, ex: twiki/data/newweb
>
>
  1. Create a new directory under twiki/data/, ex: twiki/data/Newweb
    • the name has to start with a capital and cannot be a WikiWord
 
  1. Copy in the contents of twiki/data/_default.
Changed:
<
<
For detailed instructions: TWiki Installation Guide: Creating a New Web.
>
>
For detailed instructions, see TWiki Installation Guide: Adding a New Web.
 
Changed:
<
<

How to Rename or Delete a Web

>
>

Renaming or Deleting a Web

 
Changed:
<
<
NOTE: Think twice if you intend to rename the TWiki.Main web, since many files point to it. If you rename it, you also have to change all occurrences of Main to the new web name (like the web prefixes for all user signatures, Main.SomeName). (On the other hand, if the %MAINWEB% variable is used throughout, you won't have that problem.)
  1. Prepare your site: Other webs may link to the web you want to rename or delete. Search each web for links to the target web: search all webs for Abouttochange. - include the period to find topics like Abouttochange.SomeTopic. Make changes as required.
>
>
NOTE: If you plan to rename the TWiki.Main web, remember that TWiki stores user and group topics in %MAINWEB%, default named Main. That means, every WikiName signature - Main.SomeUserName - points to it and would need updating (unless the variable, %MAINWEB%.SomeUserName, is used throughout).
  1. Prepare your site: Search each web for links to the target web, searching topic text for Oldwebname., including the dot so you'll find references like Oldwebname.SomeTopic.
    • Make changes as required, to Newwebname.SomeTopic or better yet, to =%MAINWEB%.SomeTopic.
 
  1. Edit the TWikiPreferences topic: Rename or delete the web from the WIKIWEBLIST variable.
  2. Edit the TWikiWebsTable topic: Rename or delete the web from the table.
Changed:
<
<
  1. Connect to the TWiki server: Login via Telnet or FTP.
  2. Edit the data files: Go to twiki/data and rename or delete the web directory.
  3. Edit the template files: Go to twiki/templates and rename or delete the web directory if present.
  4. Edit the public files: Go to twiki/pub and rename or delete the web directory if present.
>
>
  1. Login to the TWiki server, via Telnet or FTP.
  2. Go to twiki/data and rename or remove the web directory.
  3. Go to twiki/templates and rename or remove the web directory if present.
  4. Go to twiki/pub and rename or remove the web directory if present.
 
Changed:
<
<
-- MikeMannix? - 29 Aug 2001
>
>
-- MikeMannix? - 14 Sep 2001
 
This site is powered by the TWiki collaboration platformCopyright � by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.ManagingWebs