Hi
I am working on my forum and i create a custom field ( price) and i need
to add also the date and time from value display HTML if is possible .
Example :
Price valid at (date and time ) (date of thread)
Go to custom_fields_macros template, find <xf:macro name="custom_field_value" arg-definition="!" arg-value="!">(...)</xf:macro>
add before </xf:macro>:
HTML:
<xf:if is="{$__globals.thread.custom_fields.your_custom_field_id}">
(valid price at {{date_time($__globals.thread.post_date)}})
</xf:if>
Go to custom_fields_macros template, find <xf:macro name="custom_field_value" arg-definition="!" arg-value="!">(...)</xf:macro>
add before </xf:macro>:
HTML:
<xf:if is="{$__globals.thread.custom_fields.your_custom_field_id}">
(valid price at {{date_time($__globals.thread.post_date)}})
</xf:if>