CSS Injector

Slug: 
css_injector
Versions de Drupal: 
6.x
7.x
D.o - Installation Rank: 
128
D.o - Reported Installs: 
6 201
D.o - Maintenance Status: 
Unknown
D.o - Development Status: 
Unknown
D.o - Module Categories: 
Theme Enhancements
D.o - Download 4.7: 
D.o - Download 5.x: 
D.o - Download 6.x: 
6.x-1.4|http://ftp.drupal.org/files/projects/css_injector-6.x-1.4.tar.gz|15.1 KB
D.o - Download 7.x: 
7.x-1.4|http://ftp.drupal.org/files/projects/css_injector-7.x-1.4.tar.gz|17.1 KB
D.o - Original Description: 

Allows administrators to inject CSS into the page output based on configurable rules. It's useful for adding simple CSS tweaks without modifying a site's official theme -- for example, a 'nighttime' color scheme could be added during certain hours. The CSS is added using Drupal's standard drupal_add_css() function and respects page caching, etc.

This module is definitely not a replacement for full-fledged theming, but it provides site administrators with a quick and easy way of tweaking things without diving into full-fledged theme hacking.

Please note: Creative individuals can use CSS to execute code on a client's browser, by injecting JS snippets in place of images and so on. Treat the 'Administer CSS Injector' permission carefully, as you would any other sensitive administrative tool; allowing untrusted individuals to use it is a security risk.

Recettes pointant vers ce noeud

Souscrire à DrupalFrance.com RSS