Closed (duplicate)
Project:
Money field
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
21 Nov 2007 at 21:01 UTC
Updated:
19 Jan 2008 at 01:36 UTC
I know I can print the amount and currencu using:
print $node->field_currency[0]['amount']
print $node->field_currency[0]['currency']
But the amount comes out wrong, and does not seem themed. Are there any functions I can use?
Comments
Comment #1
wim leersPlease post a dump of this:
Comment #2
storbaek commentedIt just prints Array using:
print $node->field_currency[0];Comment #3
wim leersYes, and please post the output of that.
Comment #4
storbaek commentedPlease explain what I need to write. I thought array is the output of:
print $node->field_currency[0];Should I enter something else? I'm a PHP newbie!!
Comment #5
storbaek commentedThe two other functions I previosly found, was through contenttemplate. However, it does not give me something usefull for this module.
Comment #6
wim leersThis seems to be a duplicate of #195938, see especially this comment.
Comment #7
sleven commentedGreat module, but unfinished.
I can't make filtering results for it, because its text, not number.
and module haven' possibility to calculate exchange rate between different currency.
Am I wrong?
Comment #8
wim leersPlease don't change existing, duplicate/fixed/closed issues to something else. Create your own issues instead.
Reverting the original state.