Title says it all. Easy for node views, difficult if you want to support this in Views too (at least if you want sorting support).

Initial idea to make this work is to create a table in which, for every field, the converted amount in every desired other currency would be stored. This would be updated every X hours through cron. It also implies that no performance degradation should occur.

Comments

wim leers’s picture

This functionality will be sponsored by Paul Ektov.

wim leers’s picture

Category: task » feature
Status: Active » Postponed
wim leers’s picture

Version: 5.x-1.x-dev » 6.x-1.x-dev
Assigned: wim leers » Unassigned

Won't be implemented in the Drupal 5 version, which is now a bugfix-only branch.

wim leers’s picture

Marked this issue as duplicate: http://drupal.org/node/330671.

markus_petrux’s picture

Initial idea to make this work is to create a table in which, for every field, the converted amount in every desired other currency would be stored. This would be updated every X hours through cron. It also implies that no performance degradation should occur.

And how and where would you display this information? For example, in node view? additional columns for views?

Though, it looks like it could be written as a separate module. Say it could work as follows:

- Obtain the list of money fields in the system from where the site admin can configure currency conversions. This could be done on a dedicated module settings panel, or using form_alter to hook into the field settings form.
- Such module would use it's own tables to store field configuration and data.
- Also, it could alter the node view, or even provide the required fields for views.

Either way, I don't have time for this, so I would say won't fix. An alternative approach to do it has been drawn if anyone wants to work on it.

Thoughts?

markus_petrux’s picture

Status: Postponed » Closed (won't fix)

In addition, here's a possible alternative to offer on-the-fly currency conversions:

#210880: a "Click to convert" addon

lolandese’s picture

The Multi-currency pricelist module might offer what you are looking for or could be used as a starting point.

Thanks.