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.

Custom ASP Functions<br />

Show Site Language Function<br />

NOTE<br />

This function lets a visitor to your Web site select a language in<br />

which to view the site. Here is what the function looks like when<br />

published on a Web page.<br />

It lists all languages selected on the Settings > Configuration ><br />

Language settings screen. (For more information, see the “Multi-<br />

Language Support “chapter of the <strong>Ektron</strong> <strong>CMS400.NET</strong><br />

Administrator manual.)<br />

Below is an example of the Show Site Language custom tag.<br />

<br />

You can place this function in any location of any page on your site.<br />

By default, it appears in the lower right corner of the home page.<br />

This function only works with Asp and ASP.Net.<br />

The attribute is described in this table.<br />

Attribute Description<br />

FieldName An optional argument. You can leave it blank and allow the<br />

drop-down list to be populated by the available languages<br />

for your Web site. For example:<br />

<br />

Or you can pass in an argument such as:<br />

<br />

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

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

Saved successfully!

Ooh no, something went wrong!