The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
injecting into admincp settings?
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"> 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? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|