The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Best way of adding custom CSS as part of a plugin
I am working on a plugin, and I like the new product/plugin system very much. I just need to add a couple of custom style definitions to the main CSS file, but I wonder how that can be done in the best way. I could just add it to EXTRA or EXTRA2, but then uninstall becomes difficult. Another option is to put it in a template, and load it with misc.php?do=page&template=nameoftemplate, which I also use for my javascript file. Is there an option which I have overlooked?
[edit] The last option does not work, because FireFox doesn't like CSS files with Content-type: text/html. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|