|
ManagingWebs 30 - 2006-07-22 - Main.TWikiContributor
|
| |
Managing Webs | | |
Notes: | |
> > |
- You have to have
ROOTCHANGE access to create a top-level web (one with no parent)
| | |
- Attachments will NOT get copied over along with their topics
- While creating the new web, TWiki will update the following variables in the WebPreferences:
WEBBGCOLOR, SITEMAPLIST, SITEMAPWHAT, SITEMAPUSETO and NOSEARCHALL. These variables are used to dynamically generate the SiteMap
- TWiki does not edit the TWiki.TWikiPreferences to update the
WIKIWEBLIST. This must be done by hand
| | |
If you plan to rename the Main web, remember that TWiki stores user and group topics in this web. That means that every WikiName signature - Main.SomeUserName - points to it and would need updating (unless the variable, %MAINWEB%.SomeUserName, is used throughout). This potentially large change can be performed automatically if you rename the web from the Tools section of WebPreferences, as described above. | |
< < | If you want to rename the TWiki or Main webs, remember they are referred to in the TWiki configuration. You will need to change the relevant settings in the configuration using the configure interface. | > > | If you want to rename the TWiki or Main webs, remember they are referred to in the TWiki configuration. You will need to change the {SystemWebName}, {UsersWebName} and/or {LocalSitePreferences} settings in the configuration using the configure interface. | | |
Hierarchical Webs | |
< < | Hierarchical web support is enabled by turning on the {EnableHierarchicalWebs} setting in configure. Without this setting, TWiki will only allow a single level of hierarchy (webs). If you set this, you can use multiple levels, like a directory tree, i.e. webs within webs. | > > | Hierarchical web support is enabled by turning on the {EnableHierarchicalWebs} setting in configure. Without this setting, TWiki will only allow a single level of hierarchy (webs). If you set this, you can use multiple levels, like a directory tree, i.e. webs within webs. | | |
Note: You might not need hierarchical webs. TWiki topics already have a parent/child relationship within a web, which is shown in the breadcrumb. Try to keep the number of webs to a minimum in order to keep search and cross-referencing simple. |
|
|
ManagingWebs 29 - 2005-03-27 - Main.TWikiContributor
|
| |
Managing Webs | | |
There are two methods used to create a new web. First you can use a specially designed TemplateWeb. 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 like to use as a starting point. Only topics that have names beginning with Web... (like "WebHome", "WebNotify", etc.) are copied. | > > | 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. | | |
Notes:
- Attachments will NOT get copied over along with their topics
| |
< < |
- While creating the new web, TWiki will update the following variables in the WebPreferences:
WEBBGCOLOR, SITEMAPLIST, SITEMAPWHAT, SITEMAPUSETO and NOSEARCHALL. These variables are used to dynamically generate the SiteMap
| > > |
- While creating the new web, TWiki will update the following variables in the WebPreferences:
WEBBGCOLOR, SITEMAPLIST, SITEMAPWHAT, SITEMAPUSETO and NOSEARCHALL. These variables are used to dynamically generate the SiteMap
| | | | |
> > | | | | Renaming or Deleting a Web | |
< < | Rename a web via the Tools section in each web's WebPreferences topic. You may delete a web by moving it into a Trash web. | > > | Rename a web via the Tools section in each web's WebPreferences topic. You may delete a web by moving it into a Trash web. | | |
Permissions | | |
Renaming the webs in the distribution | |
< < | If you plan to rename the Main web, remember that TWiki stores user and group topics in %MAINWEB%, which by default is Main (this is assigned in the site configuration). That means that every WikiName signature - Main.SomeUserName - points to it and would need updating (unless the variable, %MAINWEB%.SomeUserName, is used throughout). This potentially large change can be performed automatically with the renameweb function mentioned above, in the Main.WebPreferences topic. | > > | If you plan to rename the Main web, remember that TWiki stores user and group topics in this web. That means that every WikiName signature - Main.SomeUserName - points to it and would need updating (unless the variable, %MAINWEB%.SomeUserName, is used throughout). This potentially large change can be performed automatically if you rename the web from the Tools section of WebPreferences, as described above. | | | | |
< < | If you want to rename the TWiki web, remember it is referred to by %TWIKIWEB% which is also defined by a configuration setting. | > > | If you want to rename the TWiki or Main webs, remember they are referred to in the TWiki configuration. You will need to change the relevant settings in the configuration using the configure interface. | | |
Hierarchical Webs | | | Example Preference Inheritance for Sandbox/TestWeb/SubWeb.SubWebTopic topic:
-
TWiki.TWikiPreferences site-wide preferences
| |
< < |
-
Sandbox.WebPreferences inherits from and overrides settings in TWiki.TWikiPreferences
-
Sandbox/TestWeb.WebPreferences inherits from and overrides settings in Sandbox.WebPreferences
-
Sandbox/TestWeb/SubWeb.WebPreferences inherits from and overrides settings in Sandbox/TestWeb.WebPreferences
-
Sandbox/TestWeb/SubWeb.SubWebTopic inherits from and overrides settings in Sandbox/TestWeb/SubWeb.WebPreferences
| > > |
-
Sandbox.WebPreferences inherits from and overrides settings in TWiki.TWikiPreferences
-
Sandbox/TestWeb.WebPreferences inherits from and overrides settings in Sandbox.WebPreferences
-
Sandbox/TestWeb/SubWeb.WebPreferences inherits from and overrides settings in Sandbox/TestWeb.WebPreferences
-
Sandbox/TestWeb/SubWeb.SubWebTopic inherits from and overrides settings in Sandbox/TestWeb/SubWeb.WebPreferences
| | |
Navigation |
|
|
ManagingWebs 27 - 2005-03-27 - Main.TWikiContributor
|
| |
Managing Webs | |
< < | Adding webs is a web based operation; renaming and deleting webs are manual operations done directly on the server | > > | Adding, renaming and deleting webs are all web-based operations. | | |
Overview | |
< < | A TWikiSite is divided into webs; each one represents one subject, one area of collaboration. Administrators can add/rename/delete webs. | > > | A TWikiSite is divided into webs; each one represents one subject, one area of collaboration. Administrators (in the TWikiAdminGroup) 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 TemplateWeb. This is an invisible web that begins with an underscore "_" character. All topics in the _default template web will be copied into your new web. | > > | There are two methods used to create a new web. First you can use a specially designed TemplateWeb. 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 like to use as a starting point. Only topics that have names beginning with Web... (like "WebHome", "WebNotify", etc.) are copied. | | |
Adding a New Web | |
< < | |
| | |