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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Login Function Example<br />

<br />

<br />

<br />

<br />

<br />

Content Block Function<br />

NOTE<br />

Static Content Block<br />

Custom PHP Functions<br />

The ecmContentBlock and ecmContentBlockEX functions are<br />

used to display a content block on an <strong>Ektron</strong> <strong>CMS400.NET</strong> Web<br />

page.<br />

Shown here is the format for the ecmContentBlock function:<br />

<br />

Here is the format for the ecmContentBlockEX function:<br />

<br />

As an alternative, you can use the multipurpose function, which can display either<br />

a content block or a content block associated with a form. For more information,<br />

see ”MultiPurpose Function” on page 510.<br />

This function is basically the same as the Content Block function in<br />

ASP. See ”Content Block Function” on page 364 for details.<br />

The only differences between the PHP function and the ASP one<br />

are the examples of implementing it. The PHP examples are<br />

below.<br />

<br />

<br />

<br />

<br />

<br />

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

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

Saved successfully!

Ooh no, something went wrong!