امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
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
The change looks for a specific custom field with an XF:if statement
It then replaces it with
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
