-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Item13294: Item13297: Issues with UserRegistration
The documentation for the REGISTRATIONGROUPS feature didn't note that the extraField_groups needed to be enabled in the user registration screen. The MAKETEXT strings for the REGISTRATIONGROUPS feature couldn't be translated because of the way it merged in the singular / plural groups. Documentation for UserRegistration didn't document the new registration form layout using the FORMAT macro.
- Loading branch information
Showing
4 changed files
with
59 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,24 @@ | ||
%META:TOPICINFO{author="ProjectContributor" date="1418937051" format="1.1" version="1"}% | ||
%META:TOPICINFO{author="ProjectContributor" date="1425781381" format="1.1" version="1"}% | ||
|
||
<!-- | ||
* Set REGISTRATION_DISABLED = %IF{"context registration_supported" then="%IF{"context registration_enabled" then="" else="DISABLED"}%" else="DISABLED"}% | ||
--> | ||
%IF{ | ||
"istopic '%USERSWEB%.%TOPIC%'" | ||
then="$percentINCLUDE{$quot%USERSWEB%.%TOPIC%$quot NOREGISTRATION=$quot%NOREGISTRATION%$quot}$percent" | ||
then="$percentINCLUDE{$quot%USERSWEB%.%TOPIC%$quot NOREGISTRATION=$quot%NOREGISTRATION%$quot}$percent" | ||
else="$percentINCLUDE{$quot%SYSTEMWEB%.Default%TOPIC%$quot REGISTRATION_DISABLED=$quot%REGISTRATION_DISABLED%$quot}$percent" | ||
}% | ||
<!-- | ||
The section above looks whether a custom user registration page exists in %USERSWEB% and includes it if it does; otherwise it includes DefaultUserRegistration. | ||
|
||
To create a custom UserRegistration page yourself: | ||
1. make a copy of topic DefaultUserRegistration in your %SYSTEM% web | ||
2. name the copy "UserRegistration" | ||
3. place it in %USERSWEB% (by default called 'Main') | ||
Note: You cannot set macros in an included topic. | ||
--> | ||
%IF{"context isadmin AND NOT istopic '%USERSWEB%.%TOPIC%'" then='<div class="foswikiHelp"> | ||
*Tailoring instructions:* You are currently viewing the default registration page without local tailoring. This topic looks whether a | ||
custom user registration page exists in %USERSWEB% and includes it if it does; otherwise it includes DefaultUserRegistration. | ||
(This message is only visible to Site Administrators when the %USERSWEB.UserRegistraion topic has not been created.) | ||
|
||
See detailed documentation at [[%SYSTEMWEB%.UserAuthentication#UserRegistrationPage]] | ||
|
||
To create a custom UserRegistration page for your site: | ||
1 Visit [[%SYSTEMWEB%.DefaultUserRegistration?template=more&maxrev=1&currrev=1#Copy_topic][%SYSTEMWEB%.DefaultUserRegistration: More topic actions]] | ||
1 Name the copy =%USERSWEB%.UserRegistration= (Fully qualified with both the %USERSWEB% Web name and !UserRegistration topic name" | ||
1 Edit as desired. Tailoring instructions appear between =<-- HTML Comments -->= | ||
Note: You cannot set macros in an included topic. Users visiting %SYSTEMWEB.UserRegistration will be viewing the results of an INCLUDE. | ||
</div>'}% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters