im trying to include a stylesheet in my settings page, i managed to get it to load in but not in a good way. It adds the code to the very end of the page.
Code:
</body>
</html><link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.1/css/font-awesome.min.css">
the plugin I created:
Code:
<plugin active="1" executionorder="1" product="vbulletin">
<title>font awesome in settings</title>
<hookname>admin_complete</hookname>
<phpcode><![CDATA[if ($vbulletin->options['drc_fa_adm']){
echo('<link rel="stylesheet" href="'.$vbulletin->options['drc_fa_prov'].'">');
}]]></phpcode>
</plugin>
even though this works, I would like to know... is there anyway i can properly inject stylesheets and/or scripts into the settings page?