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.

Example Using the ecmTeaser Display Function<br />

Custom ColdFusion Functions<br />

The following is an example of a collection function being used as<br />

a navigation menu in the <strong>Ektron</strong> <strong>CMS400.NET</strong> sample Web site.<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

In this example, the collection with an ID=2 is displayed, and the<br />

function “ecmTeaser” defines how to display the collection data on<br />

a Web page. Here is how the collection would appear on a Web<br />

page.<br />

As stated earlier, the format of the collection on the Web page<br />

depends on the displayFunction that is used. Below is the source<br />

code for the display function “ecmTeaser”.<br />

<br />

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

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

Saved successfully!

Ooh no, something went wrong!