[support] VIEWS: outputting comparison result of 2 fields?
Joel Willers
joel.willers at sigler.com
Tue Jul 5 13:30:55 UTC 2011
There is a module named Customfield http://drupal.org/project/views_customfield that allows PHP code, thus allowing you to do whatever you want. There are other options, like taking over the display in the tpl.php file (If $row->fieldname1 = 'Hurray' then print $row->fieldname2), but if you want to stick solely in the UI, I would suggest the module.
From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On Behalf Of toon severijns
Sent: Monday, July 04, 2011 11:23 AM
To: support at drupal.org
Subject: [support] VIEWS: outputting comparison result of 2 fields?
Hello All,
Is it possible in views2 to output a field that is the result of the comparison of two other fields?
Any help greatly appreciated!
Best,
Toon
More information about the support
mailing list