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.

Event Calendar Sample<br />

<br />

Custom ColdFusion Functions<br />

<br />

<br />

<br />

Form Function<br />

<br />

IMPORTANT!<br />

<br />

The ecmFormBlock function displays an HTML form content block.<br />

For more information about HTML forms, see the <strong>Ektron</strong><br />

<strong>CMS400.NET</strong> Administrator manual chapter “Working with HTML<br />

Forms.”<br />

If you create a template for an existing form content block, you must manually<br />

change its quicklink to point to the new template. This change does not occur<br />

automatically. This procedure is described in the <strong>Ektron</strong> <strong>CMS400.NET</strong><br />

Administrator manual chapter “Managing Library Assets”, section “Updating<br />

Default Template for Multiple Quicklinks.”<br />

Here is the format for the form custom function<br />

<br />

This function is basically the same as the Form function in ASP.<br />

See ”Form Function” on page 441 for details.<br />

The only difference between the Coldfusion function and the ASP<br />

one is the syntax for implementing it. The ColdFusion example is<br />

below.<br />

Here is an example of a form content block in an <strong>Ektron</strong><br />

<strong>CMS400.NET</strong> template.<br />

<br />

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

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

Saved successfully!

Ooh no, something went wrong!