@import function
whispero - December 3, 2008 - 16:51
| Project: | CSS |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | fax8 |
| Status: | closed |
Jump to:
Description
Me again
.. The ability to use CSS designated for other nodes by placing @import "css/get/x" in the CSS isn't currently working.. I don't know whether this has worked in past versions.. This isn't just an error in my version but is present in Crell's live version as well.
I will put this in the queue, but it isn't a priority for me as yet.. Perhaps it may be something we eliminate altogether..
If anybody wishes to help me out on this one drop me an e-mail via my contact form.
- Whispero

#1
Better to use issue queue rather than emails as other can join efforts or following the updates.
Well.. The form description is actually pretty confusing.
Simply using @import "css/get/1" will not work as it's required also a ; at the end.
So @import "css/get/1"; will work, but only if you have clean urls enabled (mod_rewrite enabled).
Insted the correct @import rule which should always work is @import "?q=css/get/1";.
I just commited version 1.3.2.3 of css.module which should fix that.
Please set this as fixed if you manage to let it work.
#2
Let me know if you still have problems.
#3
I will check this back at home later tonight and then mark as fixed providing it works..
Reading through your post, I can't understand why I didn't pick it up before.
~ Whispero
#4
This should work correctly now. Feel free to reopen if you still have problems.
#5
Automatically closed -- issue fixed for two weeks with no activity.