Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
Roundcube Community Forum
»
News and Announcements
»
General Discussion
»
Custom login page
« previous
next »
Print
Pages:
1
[
2
]
Author
Topic: Custom login page (Read 15834 times)
SKaero
Administrator
Hero Member
Posts: 5,885
Re: Custom login page
«
Reply #15 on:
February 01, 2016, 07:38:36 PM »
My mistake you'll want to switch out the roundcube:include object for a script object:
Code:
[Select]
<script type="text/javascript" src="/includes/custom-login.js"></script>
Logged
SK
aero
Tomasci
Newbie
Posts: 7
Re: Custom login page
«
Reply #16 on:
February 01, 2016, 08:45:57 PM »
Hello again.
That's great. The script now loads and is visible in source code.
But placeholders are not yet visible.
So I wonder if there must be some extra line of code to execute the script?
Many thanks
Logged
SKaero
Administrator
Hero Member
Posts: 5,885
Re: Custom login page
«
Reply #17 on:
February 01, 2016, 10:08:43 PM »
The problem is the script to load the placeholder text is using jQuery and jQuery hasn't been loaded when you include the script. Move the <script> tag to the bottom of the file and it should work.
Logged
SK
aero
Tomasci
Newbie
Posts: 7
Re: Custom login page
«
Reply #18 on:
February 02, 2016, 04:45:46 AM »
Great! That indeed solved it.
Many many thanks.
Logged
Print
Pages:
1
[
2
]
« previous
next »
Roundcube Community Forum
»
News and Announcements
»
General Discussion
»
Custom login page