Guys,
The forum macro has the feature of showing a paperclip if attachments have been added to the forum topic, the paperclip has the hyperlink to the attachment page.
I've tried to rebuild this feature for an actionlist, but cannot get it working yet. Could you tell me which macro you used for this? I tried it with the 'show-if' macro, but no success yet. The codes I tried were;
{show-if:attachment>0}
{link-to:page attachments}!paperclip.gif!{link-to}
{show-if}
And
{show-if:attachment>0}
{attachments:upload=true}
{show-if}
Any other ideas/approaches?
.png)








Comments (1)
Feb 18, 2009
Alain Moran says:
In general you are better off using builder itself for this kind of thing {...In general you are better off using builder itself for this kind of thing
{builder-show:attachment=}{compound-menuitem:attachments|icon=document_attachment|caption=Attachments (%count%)|flat=true}{builder-show}and
{builder-show:attachment=}{attachments:upload=true}{builder-show}