NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use trunk.foswiki.org to view this page for some minimal testing.
Use Item9693 for docu changes for 1.2 and 2.0.

Item10536: System.UserRegistration WikiName JS support for all skins

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Urgent Closed Engine TopicUserMappingContrib Main.WillNorris
UserRegistration uses javascript functions which are always included by PatternSkin.

using other skins, i get the following JS error:
Error: foswiki.String is undefined
Source File: http://example.com/bin/view/System/UserRegistration
Line: 1

to System/DefaultUserRegistration, i added at top:

%ADDTOZONE{ "script" id="JavascriptFiles/foswikiString"
            text="<script type='text/javascript'
src='%PUBURL%/%SYSTEMWEB%/JavascriptFiles/foswikiString.js'></script>"
}%

which i think should work with any skin. i note that NatSkin has its own version of registration, and i assume that it was not broken.

-- WillNorris - 25 Mar 2011

 
Topic revision: r4 - 16 Apr 2011, KennethLavrsen
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads