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.

Collection Examples<br />

Example Using the ecmNavigation Display Function<br />

Custom PHP 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 />

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

function “ecmNavigation” is used to define how the collection data<br />

is displayed on the Web page.<br />

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

The format of the collection on the Web page depends on the<br />

displayFunction that is used.<br />

Below is the source code for the display function “ecmNavigation”.<br />

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

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

Saved successfully!

Ooh no, something went wrong!