Author Topic: Custom login page  (Read 15632 times)

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
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>

Offline 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

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
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.

Offline 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.  ;D :D