Tags:
create new tag
view all tags

Question

Where is the text used in the Login screen located in the template files? I've looked at login.pattern.tmpl (I use the Pattern skin) and at messages.tmpl and cannot find the particular piece of text I want to change. Is it in another template file or have I missed it in one of these two? The text I want to change is right underneath the Username box on the login screen and says:

Enter your LoginName. (Typically First name and last name, no space, no dots, capitalized, e.g. JohnSmith, unless you chose otherwise). Visit TWikiRegistration if you do not have one.

Thanks for your help! smile

Environment

TWiki version: TWikiRelease04x00x04
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Sun Solaris
Web server: Apache
Perl version: ?
Client OS: XP
Web Browser: IE 6.x
Categories: Authentication

-- AmandaSmith - 19 Sep 2006

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

It should be in templates/login.pattern.tmpl line 66, under %TMPL:DEF{"authenticationnote"}%, least thats where it is for me.

-- AndrewRJones - 21 Sep 2006

I've checked there, mine says the following:

%TMPL:DEF{"authenticationnote"}%<p><span class="twikiSmallish twikiGrayText">%AUTHREALM%</span></p>%TMPL:END%

It doesn't actually write out the text I need to change. From looking at the way things are done, I'm guessing I could add a "Maketext" variable line, but I'm not sure where or how specifically to write it. Also, does adding this variable over-write whatever the default is? Why isn't the default text shown in this file? This is why I was thinking that the text (presumably the "authenticationnote" text) must be in some other file. Am I still misunderstanding something?

-- AmandaSmith - 25 Sep 2006

Ok found it. You have two choices.

1) Go to configure and in the Security Setup tab you should have {AuthRealm}. This is the text thats expanded in your template.

2) Add the following to your template file, removing the %AUTHREALM% variable (this is what I had by default, unless someone else in my company changed it before):

%MAKETEXT{"Enter your TWiki.LoginName. (Typically First name and last name, no space, no dots, capitalized, e.g. !JohnSmith, unless you chose otherwise). Visit %TWIKIWEB%.TWikiRegistration if you do not have one."}%

Im guessing choice one would be easier :). This is where I found the answer: VarAUTHREALM

-- AndrewRJones - 26 Sep 2006

Excellent! Thank you so very much. I hunted all over this website and didn't find that! smile

-- AmandaSmith - 26 Sep 2006

Change status to:
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2007-02-17 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.