HI,
I have downloaded the junos_pulse_custom_page template file for Iphone.
I want to change username text for username/Nom d'utilisateur (bilingual message for CANADA).
Same thing with Password and Sign In button. I have searched on all files of the sample and I couldn't find it.
Can you help me please ???
Thanks !
Martin
I've been poking around at customizing these login pages as well. Here is a link to the admin guide for the custom login pages from the release notes. We use the Android kb article's eample donwload. You can find the samples in the Login section of the SA appliance. There is a side bar on the right side that had download links to a few of the sample pages.
I think your making it too difficult.....if I understand correctly you want to change the 'Username' text ?
This can be done in de GUI (don't change the pages....the have a variable which is being passed from the GUI settings'.
Go to Signing In --> Sing-in Pages --> click the default and change the text behind 'username' / 'password' and ' submit'
Brgds,
Maarten
Hi, Thanks a lot for all your answers, I have tried as you said, modifying Default Page didn't affect the custom page, I don't have other choice to modify the custom pages, and try to found where is the "username" text.
Thanks !
Martin
The Username text is defined in the prompt variable. This is a multi value variable with settings for each of the fields the user enters. To change the value put the following code in the custom sign in page :
<% FOREACH prompt = prompts %>
<%IF prompt.promptText == "username" %>
<% SET prompt.promptText = "New text goes here!!!" %>
<%ELSIF prompt.promptText == "password" %>
<% SET prompt.promptText = "New text goes here!!!" %>
<%ELSIF prompt.promptText == "Additional username" %>
<% SET prompt.promptText = "New text goes here!!!" %>
<%ELSIF prompt.promptText == "Additional password" %>
<% SET prompt.promptText = "New text goes here!!!!" %>
<% ELSE %>
<% END %>
<% END %>
Hmm I dont really get it. I tried to paste your code on different locations in the template of the custom sign-in page but its not working, the labels are just empty or the site gives an error-message.
Where do I have to put your lines in exactly?
<%IF !AnonymousAuthentication && !CertificateAuthentication && !SAMLAuthentication%> <ul> <% FOREACH prompt = prompts %> <%NEXT IF !prompt.required %> <li> <table class="row"> <tr> <td class="itemText"><label for="<% prompt.name %>"><% prompt.promptText %></label></td> <td class="textInput"><input id="<% prompt.name %>" type="<% prompt.type %>" name="<% prompt.name %>" size="17"></td> </tr> </table> </li> <% END %>
The official (oooold) manual says I should replace <% prompt.promptText %> but thats not working...
Can anyone help?
I put it immediately before the opening <html> tag
Works fine, thanks a lot!
@Trans_Tel: Correct, modifying the default won't affect the custom page. After making the change, did you switch your sign-in policy back to use the default page (if not, it won't work and will use the custom page that you don't want now).