Media By Path
Categories
Component ID
1816120
Component name
Media By Path
Component type
module
Maintenance status
Development status
Component security advisory coverage
covered
Downloads
966
Component created
Component changed
Component body
This module is a tiny module that allows developers to add style sheets/scripts in info file. The special thing is in the info file, developers can choose the path where the style sheets/scripts will be applied.
Whenever Drupal matchs the defined path, the corresponding CSS/JS files will be loaded.
A sample rules in info file:
===============
; Theme specific CSS
path-stylesheets[node/*][all][] = css/page-node.css
; Theme specific CSS
path-scripts[node/*][all][] = js/node-scripts.js
===============
*: This project starts from http://drupal.org/project/css_by_path
