Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
Automatically load content-type and node-specific CSS and JS files from your theme.
This module is super light weight.
Chances are good you have the following...
A bunch of custom CSS (and occasional JS) code for each content type.
Some special nodes with their own CSS and JS (home page, etc).
You usually add all of this to your theme.
This module will load content type (and node) specific code CSS and JS files from your theme when on the appropriate pages. This code is added to the head after other assets. It will check for the existence of such files before including them in the output header. Code will be loaded whenever the node is loaded, even by a view (when in full or teaser mode). This module has no UI, it just loads files from your theme. Add files to your theme like so...
Ever wanted to create static blocks in your theme and just found it very very complicated. Then try this module, as this is the easiest way how to create blocks in theme.
This module provides an input filter that allows WYSIWYG embedded images to be restyled using Drupal's Image Styles functionality, rather than forcing the content editor to upload scaled/cropped images. Design decisions regarding thumbnail sizes for embedded files may be easily changed later (by simply updating the image style) without having to re-edit existing nodes.
It also provides some "glue" support for modules like Lightbox2. The module can apply CLASS and REL tags to the image and/or a link wrapper to the original file that Lightbox2 can use when displaying galleries.
Add To Head allows you to inject content into the $head, $scripts and $styles elements in the page.tpl.php. This is defined in profiles which can target URLS's.