[dev] Recommended Way To Add Custom Javascript

Michael M Slusarz slusarz at horde.org
Mon Jun 24 17:55:01 UTC 2013


Quoting Andy Dorman <adorman at ironicdesign.com>:

> I have been digging around in the Horde5 docs and have been unable  
> to find the best way to add custom js code.  We are using a  
> background image on the login page with a custom theme and we need  
> to randomize the selection of that background image.

http://wiki.horde.org/Doc/Dev/PageOutput

You'll probably want to use the pushapp hook in Horde.  In it, you  
will need to check that the current page is 'login.php', and then  
insert your local code.

michael

___________________________________
Michael Slusarz [slusarz at horde.org]



More information about the dev mailing list