The Favorites server control displays a list of Ektron content and external Web links (URLs) that a user has designated as favorite content. Within the control, Ektron content and URLs appear in separate lists. To view favorite content, click Content. To view a list of external URLs, click Link.
To learn about designating Ektron content as a favorite, see SocialBar Server Control.
After a URL is added, it appears on the control's Links list.
You also can add a URL to your Favorites by clicking the Add to Favorites link on the Social Bar server control. See Adding a Web Page URL to a Favorites Via the Social Bar.
The DisplayMode
property controls whether a user’s Favorites are displayed as a basic list, or if they can be organized in folders. For example, a user groups all content created by a certain author in a folder with that author’s name. If you add a folder to a user’s favorites, content in the folder appear in the Content list; URLs in the folder appear in the Links list.
To move a Favorite to a folder:
DisplayMode
property is set to Directory.WARNING! Deleting a folder also deletes all content links and URL links in the folder. If you want to retain the links, move them out of the folder before deleting it. To remove a link from a folder, click the folder, check the link, and click MoveUp One Level. Deleting a folder also deletes all of its subfolders.
The following are Ektron-specific server control properties. You can find information about native .NET properties such as font, height, width and border style in Visual Studio® help.
Indicates if you are logged into the CMS Explorer and can use it to browse to content, collections, and so on. See Also: Browsing Your Ektron Site Using CMS Explorer.
The number of seconds that the server control’s data is cached. The default is 0 (zero). For example, if you want to cache the data for 5 minutes, set to 300. See Also: Caching with Server Controls.
The default user ID for this control to use when there is no matching dynamic parameter value passed.
Select the way this control displays community group information. Choices are:
If desired, enter a relative or absolute path to an Xslt that determines the display of the page.
WARNING! If you specify an external file, do not store this file in the Workarea folder. If you store this file in the Workarea folder, the file will be lost when you upgrade.
If you enter a valid EkML file at the MarkupLanguage property, the Displayxslt property value is ignored.
By default, Fill occurs during the Page_Init event. Set to false if you want to postpone the fill-action until later. In this case, Fill is automatically called during the Page Render event. You might do this if you need to set or change a property on the control in code-behind and have it render with your changes shown.
Gets or sets the QueryString parameter to read a user ID dynamically. To use the default user ID, leave blank.
The title shown at the top of the control.
Hides or displays the output of the control in design time and run time.
Enter a link to the content Web page. This allows a user to click a link in the Favorites control and be taken to the content.
The link must have all 3 variables. The Web form can be relative or absolute. Below is an example.
contentpage.aspx?cid={0}&lang={1}&title={2}
Determines the type of window that appears when you click a link in the server control.
Identify the template markup file that controls the display of the server control. For example, mymarkup.ekml
. If the EkML file is located in the same folder as the Web form containing the server control, just enter its name. Otherwise, the path to the file can be relative or absolute. See also: Controlling Output with Ektron Markup LanguageControlling Output with Ektron Markup Language
The Maximum number of items to fetch. 0 (zero) = unlimited.
Specify the path to a style sheet for use with this server control. The location can be relative or absolute. Leave blank to use the default style sheet.
WARNING! If you enter a valid EkML file at the MarkupLanguage
property, the Stylesheet
property is ignored.
Suppresses the output of the span/div tags around the control.
Lets a developer specify a server control’s tag.