Customizing the Login Page
By default the login page for VTCalendar includes the login form and a message about how to request a login to the calendar. The message includes the e-mail address for the calendar's administrative sponsor.
If you have your own procedure for requesting access, or would like to remove this message altogether, it is possible to customize the HTML for the login page.
- Create a text file in the
static-includes folder named loginform.txt .
- Include the basic HTML for your login page in that file. This should only be the HTML that would appear inside of the
<body> tag.
- You must include the text
@@LOGIN_FORM@@ within that file, which is where the calendar will insert the login form. This only includes the table that asks for the user-id and password, and the submit button. If you would like to customize the text that appears in that table or for the button, you will need to edit your language file.
- If you would like the "Login" header text to appear from your language file, you can optionally insert the text
@@LOGIN_HEADER@@ .
- In your
config.inc.php , set CUSTOM_LOGIN_HTML to true .
Example #1:
Example #2:
|