Thanks for the info but this is not convenient for the users when they are creating a new resource ( they didn't see the icon to upload) and must be back to edit resource and upload icon.In XF2, the icon upload functionality is only available for existing resources - an icon can't be added when creating the resource.
In XF2, the icon upload functionality is only available for existing resources - an icon can't be added when creating the resource.
<xf:macro name="resource_icon" arg-resource="!">
<xf:if is="$resource.canEditIcon()">
<xf:formrow rowclass="noColon">
<xf:macro template="xfrm_resource_edit_icon" name="icon_edit" arg-resource="{$resource}" />
</xf:formrow>
</xf:if>
</xf:macro>
<xf:macro name="resource_icon" arg-resource="!">
<xf:formrow rowclass="noColon">
<xf:macro template="xfrm_resource_edit_icon" name="icon_edit" arg-resource="{$resource}" />
</xf:formrow>
</xf:macro>
I don't understand this. There is an issue after changed codes in xfrm_resource_edit_macros ?So the "resource.canEditIcon" seems to cause this "problem"... you can´t find it in any of the permission settings..
It is added on next version of Xenforo? or Resource manager?The functionality was recently reintroduced.
I don't understand this. There is an issue after changed codes in xfrm_resource_edit_macros ?
We use essential cookies to make this site work, and optional cookies to enhance your experience.