Closed (fixed)
Project:
Node displays
Version:
6.x-1.x-dev
Component:
ND Core
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
29 Aug 2009 at 15:54 UTC
Updated:
5 Oct 2009 at 18:49 UTC
Is it already possible to pass an argument to the display formatter theme functions? It could reduce some kind of redundant theming functions. If this is not already in the works, I can look into posting a patch later this week but I am in a hurry today.
Comments
Comment #1
swentel commentedIt's not already in the works - unless I'm missing the point somewhere. Feel free to post a patch!
Comment #2
swentel commentedWe're closing this one for now. After a lot of discussions, we found it pretty hard to implement this. The best way way for arguments or using one theming function is a technique also used by imagecache. Look at imagecache_theme() and imagecache_field_formatter_info() for inspiration. If you have a patch, please test against dev version which has drastically changed by now.