Ektron CMS400.NET Developer Reference Manual - IDIA
Introduction to Ektron CMS400.NET Server Controls Property Value Data Type IsLoggedIn Tells if a user is logged in to Ektron CMS400.NET. True = User is logged in False = User is not logged in Boolean LoggedInUserName Gets the Ektron CMS400.NET user name to display. String LoggedInUserID Gets the Ektron CMS400.NET ID of the user to display. Integer These properties will allow you to personalize any page with your users names and IDs, and show if they are logged in. Here is an example of using these properties in code behind. NOTE You must be logged in to Ektron CMS400.NET for this example to show your name and ID. 1. Drag an Ektron CMS400.NET server control onto a Web form. 2. Drag three Literals onto the Web form. 3. Open the code behind for the Web form. 4. Add the following code to the Page_Load event. Ektron CMS400.NET Developer Reference Manual, Version 5.0, Revision 8 40
Introduction to Ektron CMS400.NET Server Controls Literal1.Text = ContentBlock1.IsLoggedIn If ContentBlock1.IsLoggedIn Then Literal2.Text = ContentBlock1.loggedInUserName & " is logged in " Literal3.Text = ContentBlock1.loggedInUserID & " is the User ID " End If 5. Build and run the solution. 6. Browse to the login page and log in. 7. Browse to the new Web form you added. 8. The login information is displayed. Accessing Additional Properties In addition to the standard properties, Ektron CMS400.NET provides access to additional properties for the following objects. • ListSummary • Collection • Search • ContentBlock • FormBlock Ektron CMS400.NET Developer Reference Manual, Version 5.0, Revision 8 41
Ektron CMS400.NET Developer Referen
EKTRON, INC. SOFTWARE LICENSE AGREE
What’s New in the 5.0 Release Wha
Summary Table of Contents What’s
Using the RssAggregator Server Cont
Button Image Source Examples Value
Display Examples Value Web Page Vie
2. Set the following Ektron propert
IndexSearch Server Control Use the
Property Description Data Type Valu
Property Description Data Type Valu
Property Description Data Type Valu
3. Click the check boxes for the pa
NOTE In this example, the hide sett
Programmatically Predefined General
8. The list of publishers appears.
12. The XML Content Block for that
ListSummary Server Control Properti
Property Description Data Type Valu
List Summary Example Below is an ex
Collection Server Control Propertie
ecmNavigation XSL code Below is the
1. Drag and Drop a Collection Serve
Calendar Server Control The Calenda
Login Status Calendar display Logge
Property Value Data Type DisplayTyp
Calendar Style Sheet Before you ins
Style Class Description Attributes
Style Class Description Attributes
Style Class Description Attributes
Style Class Description Attributes
Style Class Description Attributes
Style Class Description Attributes
Style Class Description Attributes
Style Class Description Attributes
Style Class Description Attributes
Style Class Description Attributes
Style Class Description Attributes
Style Class Description Attributes
Style Class Description Attributes
Menu Server Control The Menu Server
Property Value Data Type DefaultMen
SampleMenu XSL code Below is the XS
Javascript: #
NOTE When using the TreeMenu Server
0 handcur showBran
_ 0 0 Ektr
Javascript:# 0 Javascr
Ektron CMS400.NET Devel
This subsection contains the follow
Property Value Data Type ForeColor
Property Value Data Type SubMenuIte
Style Class Description Attribute D
Property Value Data Type Authentica
MetaDataList Server Control Use the
Property Value Data Type DisplayXsl
Property Value Data Type WrapTag Al
RSSAggregator Server Control Proper
4. Browse to the Web page in your b
Breadcrumb Trail Type Example Verti
Property Value Data Type MaxItems T
Dreamweaver Extension Support Dream
1. Begin by following the path in D
Dreamweaver Extension Support 7. Th
1. Follow the path: Commands > Ektr
Dreamweaver Extension Support To ex
Custom Function Symbols Dreamweaver
Dreamweaver Extension Support 3. Th
Accessing CMS Content Functions Dre
Dreamweaver Extension Support Field
Dreamweaver Extension Support Field
Dreamweaver Extension Support 1. Mo
Dreamweaver Extension Support 4. Wh
Dreamweaver Extension Support Field
Dreamweaver Extension Support 4. Wh
Dreamweaver Extension Support 6. Co
Dreamweaver Extension Support 3. Us
Dreamweaver Extension Support Field
Dreamweaver Extension Support Field
Dreamweaver Extension Support 1. Mo
Dreamweaver Extension Support Shown
Dreamweaver Extension Support Field
Dreamweaver Extension Support Field
Dreamweaver Extension Support 1. Mo
Dreamweaver Extension Support Field
Dreamweaver Extension Support 1. Mo
Dreamweaver Extension Support 4. Wh
Dreamweaver Extension Support Field
Dreamweaver Extension Support Field
Dreamweaver Extension Support 1. Mo
Dreamweaver Extension Support 1. Mo
Standard ASP.NET Methods Standard A
Standard ASP.NET Methods Referencin
Standard ASP.NET Methods Line Des
Standard ASP.NET Methods The table
• The comment for the content is
Custom ASP Functions Custom ASP Fun
Custom ASP Functions Function Descr
Login Tag Example Custom ASP Functi
Custom ASP Functions The table belo
Custom ASP Functions If a user is l
Dynamic Content Block Custom ASP Fu
The Function’s Arguments Custom A
Dynamic and Static Combination Cust
Shown here is the format for the ec
Custom ASP Functions Search Tag Exa
Custom ASP Functions Value Search b
Custom ASP Functions Button Image S
Custom ASP Functions Font Color The
Search Display Function Custom ASP
Custom ASP Functions performed, the
Custom ASP Functions Style Info An
Shown here is the format of the lis
Custom ASP Functions • The result
Custom ASP Functions Style Info In
Custom ASP Functions Show Info The
Custom ASP Functions Attribute Desc
Custom ASP Functions XML Tags Desc
Custom ASP Functions Archive List S
Custom ASP Functions Single Summary
Custom ASP Functions Show Info The
Custom ASP Functions RSS Summary Ex
Custom ASP Functions Books http:
Custom ASP Functions Value DateModi
Custom ASP Functions information ab
Here is how the collection might ap
Custom ASP Functions Collection Att
Custom ASP Functions 4. Add a for l
Building Blocks Custom ASP Function
Custom ASP Functions Name Descripti
RSS Collection Function Custom ASP
XML Collection Function Custom ASP
Custom ASP Functions XML Tags
Custom ASP Functions 24 ASP.NET Un
Random Summary Custom ASP Functions
Event Calendar Sample Here is an ex
Calendar Function Custom ASP Functi
Calendar Style Sheet Event Calendar
Form Function Custom ASP Functions
Custom ASP Functions When a visitor
Metadata Function Custom ASP Functi
Content Block 2: Title - “Announc
Custom ASP Functions The previous
Custom ASP Functions In this examp
Custom ASP Functions Show Site Lang
Custom ASP Functions 1. Place the f
Custom ASP Functions Attribute name
XML Menu Custom ASP Functions The e
Custom ColdFusion Functions Custom
Custom ColdFusion Functions Functio
Custom ColdFusion Functions Static
Custom ColdFusion Functions FontSiz
Custom ColdFusion Functions The onl
Custom ColdFusion Functions Arch
Example Using the ecmNavigation Dis
Custom ColdFusion Functions In thi
Collection Variables DisplayFunctio
Custom ColdFusion Functions impleme
Custom ColdFusion Functions Event C
Custom ColdFusion Functions Shown b
DHTML Menus Custom ColdFusion Funct
Custom ColdFusion Functions ecmGetM
Custom PHP Functions Function Descr
Login Function Login Function Examp
Custom PHP Functions MaxCharacters,
Custom PHP Functions Archive Li
RSS List Summary Function Custom PH
Custom PHP Functions Function ecmNa
Custom PHP Functions } $html = $htm
Random Summary Function Custom PHP
Custom PHP Functions Attribute Disp
Custom PHP Functions NOTE As an a
Custom PHP Functions (rest of web
Custom PHP Functions Use the Genera
Custom PHP Functions This function
Web Services Introduction to Web Se
Web Services • Ektron CMS400.NET,
Web Services • Ektron.Cms.BE.Site
Web Services SingleSummary ecmSingl
Web Services AddContent ecmAddConte
Web Services The Search Display Met
Web Services Parameter Style Info S
Web Services Setting Up an Instance
Web Services The News.aspx Sample (
Web Services The result looks like
Web Services Next, the page uses th
Web Services 3. Create a new folder
RSS Syndication in Ektron CMS400.NE
Syndicating Web Content as RSS titl
Learning About Visual Studio .NET L
Additional Information Additional I