Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
TWiki Reference Manual (TWiki-6.1.0, Mon, 16 Jul 2018, build 30610) | ||||||||
Line: 79 to 79 | ||||||||
Managing WebsAdding, renaming and deleting webs are all web-based operations.OverviewA TWikiSite is divided into webs; each one represents one workspace, one area of collaboration. Each web is a container for topics. Each topic is a container for page content and attachments. Administrators can add/rename/delete webs.Namespace and URLThe name of the web and topic is represented in the page URL. For example,http://twiki.example.com/do/view/Sandbox/WebNotify tells us that we view topic WebNotify located in the Sandbox web.
![]() /WebHome by default. The name of the homepage topic can safely be omitted to make for shorter and more legible links. For example, http://twiki.example.com/do/view/Sandbox links to the homepage of the Sandbox web.
Choose Web TemplateNew webs are based on a web you specify. There are two types of webs you can use to create a new web:
Adding a New WebNotes:
Hierarchical WebsYou 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.
Sub-web Preferences are InheritedThe preferences of a sub-web are inherited from the parent web and overridden locally. Preferences are ultimately inherited from the TWiki.TWikiPreferences topic. Example Preference Inheritance forSandbox/TestWeb/SubWeb.SubWebTopic topic:
NavigationThe PatternSkin indicates sub-webs by indenting them in the sidebar relative to their level in the hierarchy. The SiteMap shows a list of webs; sub-webs are separated by dots, such asWeb.SubWeb.SubSubWeb .
Renaming or Deleting a WebRename a web via the Tools section in each web's WebPreferences topic. You may delete a web by moving it into a Trash web.PermissionsYou may only rename a web if you have the following permissions
Edit ConflictsIf 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 TWiki or Main websAlthough technically possible, it is strongly advised not to rename the TWiki and Main webs. It complicates upgrades, and some extensions may make assumptions on the names of those system webs. For this reason, the rename web link is disabled in the WebPreferences topic in those webs.![]()
| ||||||||
Added: | ||||||||
> > |
Manage UsersRegister users on your TWiki site; change/reset/install passwords; remove user accounts![]() Authentication and Access Control
List Users
Register UsersYou don't have to have user profile pages in TWiki for Authentication to work - see TWikiUserAuthentication for details.
Query and Edit User Account Data (Passwords, E-mails)Note that the below features are only relevant when you use an internal password manager where TWiki can set and reset passwords.
Changing User Account NamesTo change the user's WikiName:
Removing User AccountsTo remove a user account (FredQuimby, who logs in as "fred"):
Customizing registration Emails.TWiki's Registration can send 3 emails who's output is governed by templates:
templates dir, this cannot use Template topics.
These template files have a specific format that matches the raw format of emails sent via SMTP, so be careful and test your changes. It is easiest to start by copying the default templates:
cd twiki/templates cp registernotify.tmpl registernotify.myskin.tmpl cp registerconfirm.tmpl registerconfirm.myskin.tmpl cp registernotifyadmin.tmpl registernotifyadmin.myskin.tmplthen add myskin to the beginning of the SKIN setting in TWikiPreferences.
From this point on, your myskin templates will be used for the registration emails.
To make it possible for TWikiUsers to modify the email contents, you could use a parameterized %INCLUDE% statement in your customized version. e.g.:
From: %WIKIWEBMASTERNAME% <%WIKIWEBMASTER%> To: %FIRSTLASTNAME% <%EMAILADDRESS%> Subject: %MAKETEXT{"[_1] - Registration for [_2] ([_3])" args="%WIKITOOLNAME%, %WIKINAME%, %EMAILADDRESS%"}% MIME-Version: 1.0 Content-Type: text/plain; charset=%CHARSET% Content-Transfer-Encoding: 8bit %INCLUDE{ "Main.RegistrationNotification" WIKINAME="%WIKINAME%" FIRSTLASTNAME="%FIRSTLASTNAME%" EMAILADDRESS="%EMAILADDRESS%" }%Note: The use of %WIKINAME%, %FIRSTLASTNAME%, %EMAILADDRESS% passed in from the INCLUDE so that the topic below is similar to the original template. And then create a topic Main.RegisterNotifyEmail: Welcome to %WIKITOOLNAME%. %MAKETEXT{"Your personal [_1] topic is located at [_2]. You can customize it as you like:" args="%WIKITOOLNAME%, %SCRIPTURL{"view"}%/%USERSWEB%/%WIKINAME%"}% * %MAKETEXT{"Some people turn it into a personal portal with favorite links, what they work on, what help they'd like, etc."}% * %MAKETEXT{"Some add schedule information and vacation notice."}% Regards %WIKIWEBMASTERNAME% Your TWiki Admin %MAKETEXT{"Note:"}% 2 %MAKETEXT{"You can change your password at via [_1]" args="%SCRIPTURL{"view"}%/%SYSTEMWEB%/ChangePassword"}% 3 %MAKETEXT{"If you haven't set a password yet or you want to reset it, go to: [_1]" args="%SCRIPTURL{"view"}%/%SYSTEMWEB%/ResetPassword"}% %MAKETEXT{"Submitted content:"}% %FORMDATA%Note: Remember to secure the topic appropriately to prevent attackers from getting emailed sensitive passwords. Related topics: UserToolsCategory, AdminToolsCategory | |||||||
Warning: Can't find topic TWiki.AppendixFileSystem
|