The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Combining CSS using minify and delivering using if/elseif isn't working
Hello,
I am using Minify to combining the CSS files and delivering it with if/elseif conditions.. The index is working fine, but the other's is not. Please tell me where I am doing wrong 1. I am storing CSS as files in filesystem 2. Replacing the code at headerinclude template PHP Code:
PHP Code:
TIA BTW, at 4.0.3, I had this in headerinclude template to call the CSS. But, in 4.0.4, it's changed a bit. PHP Code:
|
#2
|
|||
|
|||
Just store CSS as files, much better imo.
|
#3
|
||||
|
||||
I am already doing that, just to tell you if you haven't read the post properly.
What I am trying is to combine them. That's all |
#4
|
|||
|
|||
They're not working because you didn't close all the IF Conditions.
|
#5
|
||||
|
||||
Aah!! Okay..
So, what should I do to close them properly? |
#6
|
|||
|
|||
Close every single one of them.
|
#7
|
||||
|
||||
They are closed properly
Debug your if statements by putting some strings and see what happens. |
#8
|
|||
|
|||
He needs to close 5 more tags.
|
#9
|
||||
|
||||
So, you mean, this should be..?
PHP Code:
|
#10
|
|||
|
|||
Yes sir.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|