%META:TOPICINFO{author="RicardoPereira" date="1178548916" format="1.1" reprev="1.31" version="1.31"}% %TOC% %STARTINCLUDE% ---# Managing Webs _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 (in the %MAINWEB%.TWikiAdminGroup) can add/rename/delete webs. #WebTemplate ---++ 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 (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 "%HOMETOPIC%", "%NOTIFYTOPIC%", 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. #CreateNewWeb ---++ Adding a New Web
__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 %WEBPREFSTOPIC%: =WEBBGCOLOR=, =SITEMAPLIST=, =SITEMAPWHAT=, =SITEMAPUSETO= and =NOSEARCHALL=. These variables are used to dynamically generate the SiteMap * TWiki does not edit the [[%TWIKIWEB%.TWikiPreferences]] to update the =WIKIWEBLIST=. This must be done by hand #Add Web to Homepage and Web List ---++ Adding the New Web to the Homepage and Web List _Specific instructions for TDWG wiki, added by Main.RicardoPereira on 07-May-2007_ After a web is created, references to it must be included on Main.WebHome and Main.SubgroupWebLeftBarWebList. Edit those two pages and follow the pattern used to present the other wiki webs. #RenameWeb ---++ Renaming or Deleting a Web Rename a web via the Tools section in each web's %WEBPREFSTOPIC% topic. You may delete a web by moving it into a Trash web. ---+++ Permissions You may only rename a web if you have permissions to rename all the topics within that web, including any topics in that web's subwebs. You will also need permissions to update any topics containing references to that 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 If you plan to rename the %MAINWEB% web, remember that TWiki stores user and group topics in this web. That means that every WikiName signature - =%MAINWEB%.