css content field is blank for me
jefbak2 - September 30, 2007 - 13:56
| Project: | Alter CSS |
| Version: | 5.x-1.x-dev |
| Component: | User interface |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | postponed (maintainer needs more info) |
Jump to:
Description
I have tried using this with both blue marine and garland, but I get a blank content box.
For garland, the css files are stored in file/color/styles.css for me.
To manually edit the file, I have to ftp as Apache user to make changes and this could be my issue. Don't know for sure.

#1
Hmm, lets see if we can troubleshoot here. Insert the following line on line 83 of alter_css.module:
drupal_set_message($css_info[$default_style]);This should contain the file name of the CSS file that alter_css will load to enter into the content field. Go to /admin/build/themes/settings/bluemarine to see whether a message is displayed showing the name of the CSS file.
#2
Hey Shawn,
I was pretty eager to start using this in a multi-site instance where I don't want to be handing out either ftp access or the priviledge of writting .php files directly from the web browser. Writing .css files is a nice compromose which would give folks considerably more space for easy customization.
Unfortunately I ran into the same problem as jefbak2 did last year. I tried this test to alter_css.module as you suggeted I came up with the selected file:
* Style sheet new set as default style sheet for marvin theme.
* themes/chameleon/marvin/style_new.css
Unfortunately there was no file style_new.css stored in the themes/chameleon/marvin/ directory. Now it could be just a permissions issue, but I'd have expected to get an error.
I think however, that there are a couple problems with storing the alternate style.css file in the themes directory. Would prefer it were in the files directory, but this doesn't seem to be optional within Drupal 5 at this point.
NOTE: By making the directory/file permissions on the theme folder the same as the /files folder it worked.
chmod -R 777 themes/chameleon/marvin/
Mike