Will this module ever have a D6 release?

Thanks.

CommentFileSizeAuthor
#3 xcss.tar_.gz14.32 KBrimian

Comments

robloach’s picture

Title: Backport to 6.x? » Backport to 6.x
Component: Documentation » Code
Category: support » task
Status: Active » Patch (to be ported)

One of the inspirations of putting this together was hook_css_alter(). If we somehow get around that, I'd definitely love to take a look at it and open up the 6.x branch. CSS Dry might provide a neat solution around it.

danmasq’s picture

subscribing. Would seriously love this in version 6..

rimian’s picture

StatusFileSize
new14.32 KB

Here's an initial version. It hasn't had a lot of testing but I will get to that soon enough.

This backport only supports one CSS file (master.xcss) but I can extend this easily enough.

The attachment didn't work so it's here on my github account:

http://github.com/rimian/rimian/tree/master/modules/xcss

Rim

rimian’s picture

I've updated the code on my git repo.

There's now a fileapi that recursively scans a directory you set in the admin (that defaults to your theme directory) and compiles all the xcss files to your sites/default/files/xcss directory and then adds the CSS to your html head.

You can't have files of the same name in your theme folder as the files/xcss directory is flat.

http://github.com/rimian/rimian/tree/master/modules/xcss

There are some other modules in my git repo but you can safely ignore those.

git check out:
git clone http://github.com/rimian/rimian.git

robloach’s picture

Version: 7.x-1.x-dev » 6.x-1.x-dev
Status: Patch (to be ported) » Fixed

The branch is open and the snapshot development release is open! :-)

Nice job on the port!!!!!!! :-)

rimian’s picture

Thanks!

Where can I see? huh huh huh? ooooh ooooohhhhh!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

robloach’s picture

I just added you as a maintainer, so feel free to make commits as you wish :-) .