15.08.2013 Views

Ektron CMS400.NET Developer Reference Manual

Ektron CMS400.NET Developer Reference Manual

Ektron CMS400.NET Developer Reference Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<br />

<br />

Collection Variables<br />

DisplayFunction<br />

Custom ColdFusion Functions<br />

As you can see, the ecmTeaser function is a simple ASP function<br />

that creates a table of the links that belong to the collection<br />

specified.<br />

The ecmTeaser function also displays the:<br />

• Content Title<br />

• Date Modified<br />

• Content Teaser<br />

XML Collection Function<br />

See ”Collection Attributes” on page 424<br />

The display function defines how collection data appears on a Web<br />

page. Using ColdFusion scripting, you can create your own display<br />

functions, or use the three included functions.<br />

The XML collection function wraps XML around the parameters of<br />

a list of content that’s created as a collection in the <strong>Ektron</strong><br />

<strong>CMS400.NET</strong> Workarea. Once created you can use the XML to<br />

display the collection information. The ecmCollectionXML function<br />

allows you to easily define how the collection data appears on the<br />

Web page.<br />

Shown here is the format of the ecmCollection function.<br />

<br />

id=""<br />

getHtml=""<br />

<strong>Ektron</strong> <strong>CMS400.NET</strong> <strong>Developer</strong> <strong>Reference</strong> <strong>Manual</strong>, Version 5.1, Revision 5 478

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!