Managing Webs
Adding, renaming and deleting webs are all web-based operations.On this page:
Overview
A TWiki Site is divided into webs; each one represents one subject, one area of collaboration. Administrators can add/rename/delete webs.Choose Web Template
There are two methods used to create a new web. First you can use a specially designed Template Web. This is an invisible web that begins with an underscore "_" character (for example_default). All topics in the template web will be copied into your new web.
The second method is to use an existing web as a template web. This may be useful if you already have a web that you would like to use as a starting point. Only topics that have names beginning with Web... (like "WebHome", "WebNotify", etc.) are copied.
In either case you will want to be sure to verify that your new web has all the custom modifications that you desire. Any TWiki Variables defined in the form below will automatically be set in the WebPreferences of the new web.
Adding a New Web
Notes:- You must have
ROOTCHANGEaccess to create a top-level web (one with no parent) - Only the person who created it has permission to change the WebPreferences in the new web
Hierarchical Webs
You can only create hierarchical webs (webs within webs) if the{EnableHierarchicalWebs} setting in configure is enabled. Hierarchical webs are currently enabled.
Bar inside a web named Foo, use Foo/Bar or Foo.Bar as the new web name in the form above.
Subweb Preferences are Inherited
The preferences of a subweb are inherited from the parent web and overridden locally. Preferences are ultimately inherited from the TWiki.TWiki Preferences topic. Example Preference Inheritance forSandbox/TestWeb/SubWeb.SubWebTopic topic:
-
TWiki.TWikiPreferencessite-wide preferences -
Sandbox.WebPreferencesinherits from and overrides settings inTWiki.TWikiPreferences -
Sandbox/TestWeb.WebPreferencesinherits from and overrides settings inSandbox.WebPreferences -
Sandbox/TestWeb/SubWeb.WebPreferencesinherits from and overrides settings inSandbox/TestWeb.WebPreferences -
Sandbox/TestWeb/SubWeb.SubWebTopicinherits from and overrides settings inSandbox/TestWeb/SubWeb.WebPreferences
Navigation
The Pattern skin (default) indicates Subwebs by indenting them in the sidebar relative to their level in the hierarchy.Renaming or Deleting a Web
Rename a web via the Tools section in each Web Preferences topic. You may delete a web by moving it into a Trash web.Permissions
You may only rename a web if you have the following permissions- You must be allowed to rename and changes topics in the web you want to rename
- You must be allowed to rename topics in the parent web of the web you want to rename
- If the web is a root web (i.e. it has no parent web) then you must have permission to both create and rename root webs. These permissions are controlled by the ALLOWROOTCHANGE preference, which can be set in Main.TWiki Preferences.
- If you move the web to another parent web you must be allowed to create and change topics in the new parent web.
Edit Conflicts
If anyone is editing a topic which requires updating, or which lives in the web being renamed, a second confirmation screen will come up which will indicate which topics are still locked for edit. You may continue to hit the refresh button until an edit lease is obtained for each topic which requires updating (the "Refresh" button will change to "Submit"), or hit "Cancel", which will cancel your edit lease on all affected topics.Renaming the webs in the distribution
It is possible, though not recommended, to change the names of the webs in the distribution. If you plan to rename the Main web, remember that TWiki stores user topics in this web. That means that every Wiki Name signature -Main.SomeUserName - points to it and would need updating (unless the variable, %USERSWEB%.SomeUserName, is used throughout). This potentially large change can be performed automatically if you rename the web from the Tools section of Web Preferences, as described above.
{SystemWebName}, {UsersWebName} and/or {LocalSitePreferences} settings in the configuration using the configure interface.
| Topic ManagingWebs . { Edit | Attach | Backlinks: Web All webs | Printable | History: r32 < r31 < r30 < r29 < r28 More } |