[Fusionforge-commits] r16432 - trunk/src/docs

Franck VILLAUME nerville at fusionforge.org
Wed Oct 3 21:26:25 CEST 2012


Author: nerville
Date: 2012-10-03 21:26:24 +0200 (Wed, 03 Oct 2012)
New Revision: 16432

Modified:
   trunk/src/docs/README.Plugins
Log:
add javascript_file hook

Modified: trunk/src/docs/README.Plugins
===================================================================
--- trunk/src/docs/README.Plugins	2012-10-03 18:21:23 UTC (rev 16431)
+++ trunk/src/docs/README.Plugins	2012-10-03 19:26:24 UTC (rev 16432)
@@ -322,6 +322,13 @@
   [TODO: The output of the hook appears after the closing SGML comment marker
    and before the closing </script> element. Is this what is really indended?]
 
+  Hook Name  : javascript_file
+  Locations  : www/include/Layout.class.php (function headerJS)
+  Description: Add JS file in header. No params.
+               Offer easy use ot use_javascript('yourfile.js') or declare
+               a specific call of html_use_jquery if needed.
+               See plugin headermenu of example of use.
+
   Hook Name  : project_admin_plugins
   Parameters : group_id - The numeric ID of the group
   Locations  : www/project/admin/index.php




More information about the Fusionforge-commits mailing list