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!
Environment
--
AmandaSmith - 19 Sep 2006
Answer
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!
--
AmandaSmith - 26 Sep 2006