The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
custom_css_links
|
#12
|
||||
|
||||
Changing this up a bit....in the headinclude template here:
HTML Code:
<!--[if lt IE 8]> {vb:cssfile popupmenu-ie.css,vbulletin-ie.css,vbulletin-chrome-ie.css,vbulletin-formcontrols-ie.css,editor-ie.css} <![endif]--> {vb:raw template_hook.headinclude_css} Also, if we can use that hook location, would we use the same method of adding to the store css as files? Like this maybe? ..... HTML Code:
$template_hook['headinclude_css'] .= '<link type="text/css" rel="stylesheet" href="' . vB_Template::fetch_css_path() . 'sidebar-ie.css' . '?d=' . $style['dateline'] . '" />';
HTML Code:
$template_hook['headinclude_css'] .= 'sidebar-ie.css'; |
#13
|
||||
|
||||
If you want to add something for IE only, you need to put that comment code around it.
|
#14
|
||||
|
||||
So something like this should work, right?
PHP Code:
|
#15
|
||||
|
||||
This appears to work (not sure if it's correct though) .....
PHP Code:
|
#16
|
||||
|
||||
Not to beat a dead horse, but how come the css files don't need to be rendered before you add them to the hooks?
|
#17
|
||||
|
||||
Because they are special and dealt with in a different way?
|
#18
|
||||
|
||||
Are you guessing?
How's this for posterity, young lady? Quote:
That is in my first mod using the css hooks. I'll make you famous. |
#19
|
||||
|
||||
Wonderful. Do I get the fortune that comes with being famous?
|
#20
|
||||
|
||||
Whatever you want. You know I'm a sucker for your charms.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|