The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Appending CSS to additional.css
What's the best way for a product to handle appending their own css?
If I add the additional.css to the plugin.xml file, does the old additional.css file get overwritten? How can I make it that it's the easiest for the user? |
#2
|
|||
|
|||
If you create a product with a template that overwrites an existing template, it will work fine, BUT, if you remove the product it will DELETE the additional.css template, not bring back the default one. Beware of this! The only way to fix this problem after removing the product is to import the default style.
You can either use the headinclude_css template hook or add another template to be loaded by css.php. Both will require a plugin. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|