Theme Drupal via Zen theme & CSS Injector w/ image support via IMCE

We want to be able to, at least during development, allow an artist/designer/user to develop the theme CSS for a site as well as upload images for use with the CSS. Via a Zen sub theme with the CSS Injector and IMCE module we allow a designer or other user to theme a Drupal site without having other upload capabilities outside of Drupal. When the theming is done we wrap both the CSS from CSS injector and the images uploaded via IMCE into a final Zen sub theme.

The set up:

After CSS styling is complete:

  • integrate theme elements into the theme file
    • move the the entire from css directory into your theme directory
    • copy the css from the CSS Injector module into the theme style sheet
  • disable CSS Injector module
  • disable IMCE module (if not used elsewhere)
  • remove Site Editor role from users

Notable Notes:

  • Do not call your IMCE directories "css" or "html" as these are reserved names in the /sites/example-url/file directories. Not really documented, I found it by experience.

Comments

http://crownedup.com/using_Zen_theme_How-To_Drupal#comment-19

C.Z.I. is how I now refer to the CSS injector, Zen theme & IMCE setup to support the above use case.

• Home » Administration » Appearance
- click "Install new theme": Zen
(you will need to look up the URL for install file)
- Enable: √ "Fixed layout" & √ "Wireframes"

• Home » Administration » Modules
- click "Install new theme": CSS Injector & IMCE
(you will need to look up the URLs for install files)
- Enable both

• @ admin/people/permissions/roles add a new role: "Site editor"
• @ admin/config/media/imce
- edit Sample profile
- change to "Site themer" and max resolution to 1600x1200
- under Directories remove the "u%uid" & add: imce_html & imce_css, √ "Delete"
• then back @ admin/config/media/imceRole-profile
- under "Role-profile assignments": set "Site editor" and "administrator" to "Site themer"
- under "COMMON SETTINGS": √ "Keep the existing file rejecting the new one"

• access CSS injector @: admin/config/development/css-injector
• access IMCE @: /imce

• @ admin/build/block
- added a block: an HTML link to IMCE for use w/ CSS Injector
- Region settings: Admin theme only in content area
- Pages: only on admin/settings/css_injector
- Roles: only Site Editor

• @ admin/people/permissions for "Site editor"
- CSS Injector: √ Administer CSS Injection

Add new comment

The old BBros.us site was dated, time to go D7.
The New BBros.us site fresh for 2012, funner than ever.
Front page Slideshow filled by Feeds and displays EXIF data.
Administrators and Tough guys can take a Webshot with one click rather than uploading an image directly.