CSS Module needs V5 Port
whispero - August 26, 2008 - 16:14
| Project: | CSS |
| Version: | HEAD |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | fax8 |
| Status: | closed |
Description
Hi there,
CSS Module needs takers... Its relatively important for my site to port to V5 that we utilise the CSS Module... Yes, I know we're a bit behind... but the site employs both HTML and CSS editing.. The development snapshot in itself works fully and this project seem abandoned..
I have no knowledge in porting from 4 to 5 myself but, I can port the module from 5 to 6 and 6 to 7 as that it my field of expertise...
I've seen the CSS Module in use on a V5.0 site... So one has been created, but whoever created the port obviously isn't sharing it out here...
Link to the module release: http://drupal.org/node/38304/release
and the Module Project Page http://drupal.org/node/38304/
- Sam

#1
I could help here! I have made a port to Drupal 5 almost a year ago, never used it on a site though so it got forgotten. I hope that helps you port it to 6 and finally reach its way to the community!
I have attached a zip containing both HEAD and the css-drupal-5 version. I also tried making a diff of both directories, but I am not sure I got that part right. Hope that helps you port it to Drupal 5 and share it with the rest of us!
#2
changing status
#3
Thanks,
I am using this now. I am going to submit a req for me to be listed as maintainer, working on V5 and V6 Ports of this as we speak.
- Sam
#4
That's great to hear! Hope all goes well!
#5
Hi,
I have stripped out the folder from Chris Skauss so that it contains just the Drupal 5 Files. Tested on my own test-bed and semi-live production site, results appear perfect.
Changes:
Set required value to FALSE, not all sites will require this.
Another add-on I am adding for this version is the ability again regarding the above but to set it as "Required" or "Optional" through the Admin Interface. This has gone into my first V6 which I'll put through soon, I have a few more rules to change.
Other than that.. It appears fine, I know there is an issue in Gardland with some modifications going OOTB, again working on a way around this but all other themes checked appear fine.
This V5 seems ready for testing, just unzip and place in sites/default/modules
- Whispero
#6
I just committed the code you provided. I did some minor code cleaning and updated the code to use drupal_add_css().
There is now a Drupal 5.x CSS module branch and a package should created soon by the authomatic packager.
Thanks guys.
@Whispero: please have a look at the changes I introduced between the version you provided in #5 and evaluate if those are useful in your 6.x port.
#7
Anybody working on a drupal 6 version?
#8
Yhup, The V5 Version adding preview will come after I've added V6 Port.. Hopefully have a first-dev up by weekend
#9
That's great! Thanks!
#10
There's no release nodes showing up on the project page.
#11
Automatically closed -- issue fixed for two weeks with no activity.