ENXF NET
Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
- Joined
- Nov 13, 2018
- Messages
- 24,690
- Points
- 823
Reputation:
Hi All I have a template modification on 'custom_fields_macros'
The change looks for a specific custom field with an XF:if statement
It then replaces it with
Code:
Basically changing that numeric custom field to a currency.
The problem is that it is taking the return value as $1.00 when the initial value was 4200
I had similar issues when...
Read more
Continue reading...
The change looks for a specific custom field with an XF:if statement
It then replaces it with
Code:
Code:
<dl class="{$valueClass}" data-field="{$fieldId}">
<dt>{$fieldDefinition.title}</dt>
<dd>${$fieldValue|currency}</dd>
</dl>
Basically changing that numeric custom field to a currency.
The problem is that it is taking the return value as $1.00 when the initial value was 4200
I had similar issues when...
Read more
Continue reading...