i also include jquery tools, and that is dependant on jquery being loaded before.
I think the "hook" system is already being discussed in area51 for templating.
Code: Select all
<open src="styles/prosilver/template/overall_header.html">
<edit>
<comment lang="en"><![CDATA[install bbDKP header - All in one file]]></comment>
<comment lang="fr"><![CDATA[installation du fichier header - tous en un]]></comment>
<comment lang="de"><![CDATA[Installation Headerdatei - Alles in einem]]></comment>
<find><![CDATA[</head>]]></find>
<action type="before-add"><![CDATA[<!-- INCLUDE dkp/dkpheader.html -->]]></action>
</edit>
</open>
with this in the file : note the anchors. thats needed for plugins writing in the header.
Code: Select all
<!-- BBDKP -->
<script type="text/javascript" src="{T_TEMPLATE_PATH}/dkp/jquery-1.4.4.min.js"></script>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/dkp/jquery.tools.min.js"></script>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/dkp/jquery.progressbar.js"></script>
<!-- BBTIPS -->