XF 2.1 custom_fields_macros : Show non-required fields

frm

Well-known member
For a quick thread post, I want to show one required field and one non-required field for a single node only.

I am sure it's this line that I need to be working with:
Code:
<xf:if is="!$requiredOnly OR ($requiredOnly AND $fieldDefinition.required)">

But neither this
Code:
<xf:if is="!$requiredOnly OR ($requiredOnly AND $fieldDefinition.required) OR $forum.node_id == 3">
nor
Code:
<xf:if is="!$requiredOnly OR ($requiredOnly AND $fieldDefinition.required) OR $xf.forum.node_id == 3">
work for me.

Is there a way around it besides opening up all custom fields in every node?
 
Back
Top Bottom