space Baylys
Just practicing to pass the Turing test.
space
space
space
space
Developer for Hire!
space
addedValues Plugin
space

Home

What's new

Bayly.Root

space

Bounce suite.

commentit

fingerServer Suite.

hierMenus Plugin

ManilaFixer Plug-in

space
space

Access Control

Attached Documents

Controlpanel Interface

Hourly Hits Chart

Import Functions

manilaExtras Macros

space
space

accessTimestampString Macro

allhourlyHIts Macro

alternateTemplateLink

areaTag Macro

attachedDocuments

bodyTag Macro

breadcrumbs Macro

csActionDict Macro

editorialMenu

getnamedLink Macro

hourlyHits Macro

includenews Macro

insertBaseTag Macro

loginForm

marknonCachable Macros

memberAttribute

messageAttribute Macro

messageCohorts Macro

messageExpiryDate Macro

messageReleaseDate Macro

messageViewers

metaRefresh Macro

pathAtt Macro

pathAttToIncludeMessage Macro

pathDirectiveValue Macro

pathPictureURL Macros

pictureRef Macro

renderOutline Macro

renderScript Macro

SCNSCall Macro

shortCutToMsgNum Macro

shortCutToPictureMsgNum Macro

shortCutURL Macro

siteCrossLink Macro

siteMenu Macro

siteStructureMap Macro

spacepixels Macro

storyAuthor Macro

statsGifPage Macro

embed Macro

space

Obscure Preferences

OPMl undo

TurboCache

Versioning

space

mrdebugger

Navigator Ticker Plugin

Sendmail Suite

TranslateAid plugin

Whois Macro

Cornershop Plugin

Career

edutools Root

Enhancements

Interests

linguist Plugin

Manila

Patches

Patches by Group

Papers

Sales

Sign My Guestbook

User(land) Relations.

Contact Address

Search Baylys

urlchains

space
Join Now
Login
space space space

attachedDocuments Macro

This macro returns a formatted list of the documents that have beeen attached to this message. Attributes of each document can be displayed by modifying the itemTemplate parameter.

Parameters

  • itemTemplate (optional, default see below) - a template defining the format for each attached document
  • listPrefix (optional, default <table>) - the text to insert before the list
  • listSuffix (optional, default </table>) - the text to insert after the list
  • itemPrefix (optional, default <tr><td>) - the text to insert before each item of the list
  • itemSuffix (optional, default </td></tr>) - the text to insert after each item of the list

itemTemplate

This string can contains any combination of macros from the following list. They each return the value fo the property of one individal attached document.
  • count - relative position in current list of attached documents
  • filename
  • createDate
  • modifyDate
  • size
  • link - a link to the file
  • mimetype
The default template is
{count}</td><td>{link}</td><td>{modifyDate}</td><td>{size}</td><td>{mimetype}

Example

{manilaextras.attachedDocuments()}

displays

1BaylyResume.pdf2002.09.28; 18:52:46 Uhr27Kapplication/pdf
2Running cat.sit2002.09.28; 18:57:33 Uhr11Kapplication/x-stuffit