Ektron CMS400.Net Reference

>>Using Other Development Frameworks > Custom ColdFusion Functions > XML Menu Function

XML Menu Function

The ecmGetMenuXML function wraps XML around the properties of a menu created in the Ektron CMS400.NET Workarea. Once created you can use the XML to display the menu. The ecmGetMenuXML function allows you to easily define how the menu data appears on the Web page.

<CFMODULE id=”” template=”#request.ecm.AppPath#ecmGetMenuXML.cfm”>

This function is basically the same as the XML Menu function in ASP. See XML Menu for details.

The only difference between the Coldfusion function and the ASP one is the syntax for implementing it. The Coldfusion example is below.

<CFMODULE id="1" template="#request.ecm.AppPath#ecmGetMenuXML.cfm">


Visit the Ektron Dev Center at http://dev.ektron.com 1-866 - 4 - EKTRON

Ektron CMS400.NET Reference Version 8.02 SP1 Rev 1

Ektron Documentation,© 2011 Ektron, Inc.