Image Titles
Summary
This module "automatically" replaces text titles with an "associated:" image, if a suitable replacement can be found. It simply converts the title into a filename and looks for that file - if it finds it, it formats the image tag to replace the title.
- Sometimes you just want a fancy title. Drupal plain-text titles sometimes just don't do it.
- The original idea comes from: http://drupal.org/node/138910
- The module is used to create the titles on many pages and nodes on this site, for example: http://lasqueti.ca/crystalschamomile
Overview
Requires:
- a collection of GIF image titles located in files/images/titles (configurable in script)
- a call from _phptemplate_variables(), or some other appropriate place, to substitute the title.
Source Code
All code snippets, modules, and modulettes on this site are covered by GPL - see license.txt
The source code is attached below...
Full instructions for installing and using this module are included as comments in the source file.
Attachment | Size |
---|---|
replace_title.zip | 13.35 KB |