Closed (duplicate)
Project:
ImageCache
Version:
6.x-2.0-beta8
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
23 Feb 2009 at 10:48 UTC
Updated:
29 Apr 2009 at 20:49 UTC
Today there's an incredible amount of theme functions created for the imagecache presets and to be able to override them one of have to override each one of them.
Attached is therefor a patch that makes the theme-function all of these formatter-theme-functions points to a theme-function of itself and as such overrideable in itself.
In other words - this patch make theme_imagecache_formatter into a real overrideable theme function.
| Comment | File | Size | Author |
|---|---|---|---|
| imagecache_theme_generalisation.patch | 2.35 KB | voxpelli |
Comments
Comment #1
drewish commentedsorry this got ignored for so long. i agree it was kind of a mess trying to theme individual formatters. i actually just committed a fix for this today (#437098: Unneeded node_load in theme_imagecache_formatter) so grab a copy of the -dev and take a look. i think you'll be pleased.