The foswiki svn repository is obsolete. Developers should register for a account for commit access to foswiki project. Github is ready for updates.

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:
Line: 1

to System/DefaultUserRegistration, i added at top:

%ADDTOZONE{ "script" id="JavascriptFiles/foswikiString"
            text="<script type='text/javascript'

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 License