Ektron 9.00
A widgetWidgets are mini-applications that you place on a Web page using PageBuilder; a widget provides either specific functionality (calculators, search, social bars, etc.) or areas into which you can add content (content blocks, list summaries, collections, and so on). is a mini-application that can provide either specific functionality (search, social bars, and so on) or areas into which you can add Ektron content (content blocks, list summaries, collectionA list of Ektron content links for display on a Web page.s, and so on). You can drag and drop widgets onto a page using a wireframethe architecture of a Web page containing columns, dropzones, and layout information., dropzonean area on a Web page where you can drag and drop a widget.s, and widgets.
The following figure shows the relationship between a wireframe, dropzones, and widgets.
A widget consists of 3 file types.
.ascx
—contains a widget’s source code.ascx.cs
or .vb
—contains widget’s code-behind .ascx.jpg
—image that represents a widget in the widget selection toolWhen you create a widget, save the widget files to the siteroot/widgets
folder. This folder path is defined in the site root/web.config
file, so if you change the folder name or path, you must update the following web.config
element:
<add key=”ek_widgetPath” value=”Widgets/" />
.
NOTE: Your widget might use additional files, such as .css
or .js
files.You should place these files in a folder within siteroot/widgets
, and give the folder the same name as the custom widget.
Ektron stores each page’s data (a serialized XML string) as a type of content in the Ektron Workarea. The string is stored like other content types, such as HTML content and XML Smart Forman Ektron-defined Web page that contains XML (hidden from the end user) to display content, and receive, verify, and save user input.s.
After you integrate widgets into Ektron, you can add them to a dashboard in your profile page or a community group’s page. You also can drag-and-drop these building blocks onto a PageBuilder page or a Personalized Web page. See Also: Creating Web Pages with PageBuilder and Personalizing a Web Page.
Content authors open the widget bar from the PageBuilder menu by clicking the up/down () or down () controls. For HTML5 CSS3-compliant browserAll browsers are supported EXCEPT for the following versions *and older*: IE 8, Chrome 3 and older, Firefox 3 and older, Safari 3 and older, and Opera 10 and older.s, click Switch to Edit, then click on Design. The PageBuilder menu appears; open the Widgets panel.
Widget States on a Pagebuilder Page
Widgets placed on a PageBuilder page have 3 possible combinations of states.
In a widget’s user control file, you create an asp:MultiView
element that determines available actions when a widget is in View mode and Edit mode.
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="HelloWorld.ascx.cs" Inherits="widgets_HelloWorld" %> <%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Namespace="System.Web.UI" TagPrefix="asp" %> <asp:MultiView ID="ViewSet" runat="server" ActiveViewIndex="0"> <asp:View ID="View" runat="server"> <!-- You Need To Do .............................. --> <asp:Label ID="HelloTextLabel" runat="server"></asp:Label><br /> <asp:Label ID="CheckBoxLabel" runat="server"></asp:Label> <!-- End To Do .............................. --> </asp:View> <asp:View ID="Edit" runat="server"> <div id="<%=ClientID%>_edit"> <!-- You Need To Do .............................. --> <asp:TextBox ID="HelloTextBox" runat="server" Style="width: 95%"> </asp:TextBox><br /> <asp:CheckBox ID="MyCheckBox" runat="server" Checked="false" /> <br /><br /> <!-- End To Do .............................. --> <asp:Button ID="CancelButton" runat="server" Text="Cancel" OnClick="CancelButton_Click" /> <asp:Button ID="SaveButton" runat="server" Text="Save" OnClick="SaveButton_Click" /> </div> </asp:View> </asp:MultiView>
NOTE: For more information on creating widgets, see Break It Down! Widget Development How-to (Part 1).
To learn how to create a widget, create a simple widget in the siteroot/widgets
folder. This widget is based on the Hello World widget that is installed with the sample site with the following files:
HelloWorld.ascx
—user control fileHelloWorld.ascx.cs
—user control code-behind fileHelloWorld.ascx.jpg
—image that represents this control on the widget menuwidgets
folder.HelloWorld.ascx
.widgets
folder.Copy of HelloWorld.ascx
.new_widget.ascx
. Visual Studio automatically renames the code-behind file to new_widget.ascx.cs.
helloworld.ascx.jpg
file to new_widget.ascx.jpg.
The image file is 48 x 48 pixels and 72 dpi. Ektron administrators and content authors drag a widget’s image onto the page.new_widget.ascx
to open it.HelloWorld
(circled) with new_widget
.new_widget.ascx.cs
. HelloWorld
with new_widget
.new_widget.ascx
and new_widget.ascx.cs.
NOTE: Use this procedure to select (or restrict) any widget that you want to be available to use on a wireframe template. When the template is used, the selected widgets appear in the PageBuilder Widgets menu.
new_widget.ascx
, appears in the list.PageLayout.aspx
. Or, any wireframethe architecture of a Web page containing columns, dropzones, and layout information. template that you are using to create a PageBuilder page.After you create a new widget and enable it in the Workarea, you can begin to customize it. For more information about customizing widgets, see Customizing a Widget.
Here is the new_widget.ascx
file that is the basis of the widget.
<%@ Control Language=”C#” AutoEventWireup=”true” CodeFile=”new_widget.ascx.cs” Inherits=”widgets_new_widget” %> <%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Namespace="System.Web.UI" TagPrefix="asp" %> <asp:MultiView ID="ViewSet" runat="server" ActiveViewIndex="0"> <asp:View ID="View" runat="server"> <!-- You Need To Do .............................. --> <asp:Label ID="TextLabel" runat="server"></asp:Label><br /> <asp:Label ID="CheckBoxLabel" runat="server"></asp:Label> <!-- End To Do .............................. --> </asp:View> <asp:View ID="Edit" runat="server"> <div id="<%=ClientID%>_edit"> <!-- You Need To Do ............................. --> <asp:TextBox ID="TextTextBox" runat="server" Style="width: 95%"> </asp:TextBox><br /> <asp:CheckBox ID="MyCheckBox" runat="server" Checked="false" /> <br /> <!-- End You Need To Do ......................... --> <asp:Button ID="CancelButton" runat="server" Text="Cancel" OnClick="CancelButton_Click" /> <asp:Button ID="SaveButton" runat="server" Text="Save" OnClick="SaveButton_Click" /> </div> </asp:View> </asp:MultiView>
Notice the following elements of the file.
asp:MultiView
element declares that the control has 2 possible modes: View and Edit.<asp:MultiView ID="ViewSet" runat="server" ActiveViewIndex="0">
multiview
tags is information about the control in view mode. It has 2 fields: one is a text field, and the other is a check box.<asp:View ID="View" runat="server">
<asp:Label ID="HelloTextLabel" runat="server"></asp:Label><br />
<asp:Label ID="CheckBoxLabel" runat="server"></asp:Label>
</asp:View>
multiview
tags is information about the control in edit mode. In edit mode, a text box, a check box, and a Save button appear. The text box and check box collect end-user input, and the Save button saves that input to the database.<asp:View ID="Edit" runat="server">
<div id="<%=ClientID%>_edit">
<!-- You Need To Do .............................. -->
<asp:TextBox ID="HelloTextBox" runat="server" Style="width: 95%">
</asp:TextBox><br />
<asp:CheckBox ID="MyCheckBox" runat="server" Checked="false" /> <br />
<!-- End You Need To Do .............................. -->
<asp:Button ID="CancelButton" runat="server" Text="Cancel"
OnClick="CancelButton_Click" />
<asp:Button ID="SaveButton" runat="server" Text="Save"
OnClick="SaveButton_Click" />
Review the code-behind file,new_widget.ascx.cs
.
using
statements are at the top of the file. Notice the Ektron ones in particular:using Ektron.Cms.Widget; using Ektron.Cms;Marketing team using Ektron.Cms.API; using Ektron.Cms.Common; using Ektron.Cms.PageBuilder; using System.Text.RegularExpressions;
system.Web.UI.UserControl
and IWidget
classes.public partial class widgets_new_widget: System.Web.UI.UserControl, IWidget
The following figure summarizes the remaining elements of the code-behind file.
#region properties private string _HelloString; private bool _CheckBoxBool; [WidgetDataMember(true)] public bool CheckBoxBool { get { return _CheckBoxBool; } set { _CheckBoxBool = value; } } [WidgetDataMember("Hello Wolrd")] public string HelloString { get { return _HelloString; } set { _HelloString = value; } } #endregion
private IWidgetHost _host;
page_init
events.protected void Page_Init(object sender, EventArgs e)
{ _host = Ektron.Cms.Widget.WidgetHost.GetHost(this);
_host.Title = "Hello World Widget";
_host.Edit += new EditDelegate(EditEvent);
_host.Maximize += new MaximizeDelegate(delegate() { Visible = true; });
_host.Minimize += new MinimizeDelegate(delegate() { Visible = false; });
_host.Create += new CreateDelegate(delegate() { EditEvent(""); });
PreRender += new EventHandler(delegate(object PreRenderSender, EventArgs Evt)
{ SetOutput(); });
ViewSet.SetActiveView(View);
}
Comments about the page_init code
gethost
method returns a reference to the container widgethost for this widget. This is the case in both Personalization and PageBuilder.Title
property is the title of this widget. By setting it in page_init
for the widget, we inform the host what text to put in the title bar above the widget. This works in both PageBuilder and Personalization.host.Title
are raised by the widgethost. It’s up to the widget to subscribe to them. In all cases, if we don’t subscribe to them, the icons don’t show up. This is a method of attaching widget code to button clicks and other events that occur outside the widget.PreRender
: Ektron renders the contents of this widget on pre-render, thus ensuring a single render event. Another option is to call SetOutput
on the Load event, but you can only do that if the widget is not in edit mode currently.edit
events.void EditEvent(string settings) { string sitepath = new CommonApi().SitePath; ScriptManager.RegisterClientScriptInclude(this, this.GetType(), "widgetjavascript", sitepath + "widgets/widgets.js"); ScriptManager.RegisterOnSubmitStatement(this.Page, this.GetType(), "gadgetescapehtml", "GadgetEscapeHTML('" + HelloTextBox.ClientID + "');"); HelloTextBox.Text = HelloString; MyCheckBox.Checked = CheckBoxBool; ViewSet.SetActiveView(Edit); }
Comments about the edit code
IMPORTANT: You must register JavaScript and cascading style sheet (css) instructions in an external file.
sitepath
to ensure that the correct path for included files is used across installations.scriptmanager
to include the script. Alternatively, you can use Ektron.Cms.Api.Js.RegisterJSInclude ScriptManager.RegisterOnSubmitStatement(this.Page, this.GetType(), "gadgetescapehtml", "GadgetEscapeHTML('" + HelloTextBox.ClientID + "');");
onsubmitstatement
is JavaScript that is run when the widget is submitted. It calls escape html, which cleans the submitted text to avoid any XSS.HelloTextBox.Text = HelloString;
MyCheckBox.Checked = CheckBoxBool;
ViewSet.SetActiveView(Edit);
save
events.protected void SaveButton_Click(object sender, EventArgs e) { HelloString = ReplaceEncodeBrackets(HelloTextBox.Text); CheckBoxBool = MyCheckBox.Checked; _host.SaveWidgetDataMembers(); ViewSet.SetActiveView(View); }
SetOutput
events.protected void SetOutput() { HelloTextLabel.Text = HelloString; // client javascript remove brackets, server side adds back CheckBoxLabel.Text = CheckBoxBool.ToString(); }
Cancel
events.protected void CancelButton_Click(object sender, EventArgs e) { ViewSet.SetActiveView(View); }
protected string ReplaceEncodeBrackets(string encodetext) { encodetext = Regex.Replace(encodetext, "<", "<"); encodetext = Regex.Replace(encodetext, ">", ">"); return encodetext; }
The following topics let you further customize widget behavior.
You can use JavaScript or a cascading style sheet to add custom functionality or styling to a widget. To do this, place the JavaScript or cascading style sheet (css) instructions in an external file, then register it in the code-behind file.
Example of including a JavaScript file.
void EditEvent(string settings) JS.RegisterJSInclude(this, _api.SitePath + "widgets/contentblock/jquery.cluetip.js", "EktronJqueryCluetipJS");
Example of including a .css file.
Css.RegisterCss(this, _api.SitePath + "widgets/contentblock/CBStyle.css","CBWidgetCSS");
WARNING! You must register JavaScript and .css files in an external file, as shown above. If you do not, the OnSubmit event places HTML in the TextArea field in encoded brackets (< >) and generates a dangerous script error.
The JS.RegisterJSInclude
and Css.RegisterCss
functions take 3 arguments.
this
http://localhost/ektrontech
and http://ektrontech
. For example:_api.SitePath + "widgets/contentblock/jquery.cluetip.js"
_api.SitePath + "widgets/contentblock/CBStyle.css"
"EktronJqueryCluetipJS"
NOTE: Widgets use an update panel for partial postbacks. As a result, the ASP.NET tree view and file upload controls do not work with widgets. Ektron has workarounds for these functions. For an example of a tree view, see the content block widget (siteroot/widgets/contentblock.ascx
). For an Ajax file uploader, see the flash widget (siteroot/widgets/flash.ascx
).
Whenever your code is interacting with a widget, you need to verify that it is on a PageBuilder page (as opposed to another Ektron page that hosts widgets, such as personalization).
To check for this, insert the following code:
Ektron.Cms.PageBuilder.PageBuilder p = (Page as PageBuilder);
If(p==null) // then this is not a wireframe
When you want to check the mode, use code like this.
If(p.status == Mode.Edit) // we are in edit mode
Global and local widget properties reduce your development effort by eliminating settings data classes. While you can still use these classes and manage your own serialization, for the vast majority of types, the built-in engine performs the necessary work.
Global properties apply to every instance of a widget. Local properties apply to one instance. If both local and global values are assigned to a property, local overrides global.
As an example of using a local property to override a global, consider a ListSummary widget. You may want its sort mostly by modified date in descending order, but in certain instances you want to sort by title in ascending order.
[GlobalWidgetData()] public string NewWidgetTextData { get {return _NewWidgetTextData;} set {_NewWidgetTextData = value; }}
[WidgetDataMember()] public string NewWidgetTextData { get { return _NewWidgetTextData; } set { _NewWidgetTextData = value; } }
A global property lets an Ektron developer or administrator assign properties and values that apply to all instances of a widget. You apply a global property to the widget’s code-behind page. Administrators could then set or update the property’s value in the Workarea’s Widgets screen.
For example, the Brightcove Video widget requires a player ID. You could insert that in the widget’s code-behind file. Then, an administrator could review and possibly update that information in the Workarea widgets screen. Whenever a user drops a Brightcove Video widget onto a page, the player ID is already assigned.
If the developer does not set a default value in code-behind, an administrator must set one on the Workarea’s Widgets screen.
If the developer does set a default value in code-behind, it will be applied unless changed by an administrator on the Workarea’s Widgets screen.
To set global properties:
siteroot/widgets
folder.properties
section, insert the GlobalWidgetData
attribute (as shown) to set the global property’s name and type.[GlobalWidgetData()] public string NewWidgetTextData { get { return _NewWidgetTextData; } set { _NewWidgetTextData = value; } }
The supported types for GlobalWidgetData
are:
A local property lets an Ektron user assign property values that apply to a particular instance of a widget. For example, the Brightcove Video widget requires a Video ID, which identifies the video that appears where you drop the widget.
To set a local properties:
site root/widgets
folder.properties
section, insert the WidgetDataMember
attribute to set the property. See example below.[WidgetDataMember(150530105432)]1 public long VideoID { get { return _VideoID; } set { _VideoID = value; } }
[WidgetDataMember
. In the example above, the value is 150530105432
._host.SaveWidgetDataMembers();
. You can add a Content type drop-down to the ListSummary widget. The drop-down lets the person dropping the widget on the page select from these choices.
The drop-down appears as follows after it is implemented.
To add this drop-down to the ListSummary widget:
siteroot/widgets/ListSummary.ascx
.DisplaySelectedContent
.DisplaySelectedContent
, add the following code to create a drop-down list for the ContentType
property.
<tr> <td>DisplaySelectedContent:</td> <td> <asp:CheckBox ID="DisplaySelectedContentCheckBox" runat="server" /> </td> </tr> <tr> <td>ContentType:</td> <td> <asp:DropDownList ID="ContentTypeList" runat="server"> <asp:ListItem Value="AllTypes">AllTypes</asp:ListItem> <asp:ListItem Value="Content">Content</asp:ListItem> <asp:ListItem Value="Assets">Assets</asp:ListItem> </asp:DropDownList> </td> </tr>
ListSummary.ascx
file.ListSummary.ascx.cs
.ContentType
property:private string _ContentType;
AllTypes:
[WidgetDataMember("AllTypes")] public string ContentType { get { return _ContentType; } set { _ContentType = value; } }
EditEvent
area, set the select list's value to ContentType:
ContentTypeList.SelectedValue = ContentType;
SaveButton_Click
event, set ContentType
as the select list's value:ContentType = ContentTypeList.SelectedValue;
SetListSummary()
function, set the List Summary server control's ContentType
to the CMSContentType
property:ListSummary1.ContentType = (CMSContentType)Enum.Parse(typeof(CMSContentType), ContentType);
ListSummary.ascx.cs
file.You can include help for any widget that has the help icon ().
The help icon only appears when a user is editing a PageBuilder page. The icon appears both when a user is viewing a widget and editing its properties. It is not available to a page’s site visitors.
To create a widget’s help file:
You could create a content block within Ektron then switch to source view, copy the content into a word processor (like Notepad), and save it with an HTML extension.
HelpFile
property to the code-behind of the page that hosts the widget. See example below.protected void Page_Init(object sender, EventArgs e)
{
_host = Ektron.Cms.Widget.WidgetHost.GetHost(this);
_host.HelpFile = "~/widgets/myWidget/help.html";
If you want to remove a widget from use:
/siteroot/widgets/
folder.The Targeted Content widget lets you personalize a site visitor's experience by providing content that matches their interests, thereby placing your site information in the context of your users. For example, the search keywords used to find your site might determine the best offer to show a prospect. Or, site members might explicitly state their interests by adding to their user profile or filling out a survey.
In both cases, the Targeted Content widget ensures the delivery of the right experience to compel each site visitor to take action. The widget lets you gather information from each interaction, and use that information to direct visitors to content that relates to their specific interests. See Also: 4 Trends that Shape the Future of Content Targeting
Targeting content is as easy as creating an email rule in Microsoft Outlook, or a playlist in iTunes. Each widget has 1 or more conditions. Each condition can have 1 or more criteria. For example, a condition may stipulate that the URL parameter terms
contains either "pizza" or "Italian."
After assigning conditions to a Targeted Content widget, you assign one or more widgets to it. The widgets appear on the page only if a condition evaluates to true. To continue the example, if the page has a URL parameter that contains "pizza," display a Taxonomy Summary widget showing content to which the taxonomya content-level categorization system that uses one-to-many relationships (such as Ronald Reagan is to Actor, Governor, and President) to create a scalable organization of content. A taxonomy lets your site visitors navigate content independent of the folder structure. category "pizza" is assigned.
You can assign any number of conditions to the Targeted Content widget. As soon as one is true, its associated widgets appear, and any remaining conditions are ignored.
The Targeted Content widget can evaluate the following information about a page's site visitor.
http://www.mystore.com/product.aspx?cid=gold
. In the Targeted Content widget, set the condition URL Parameter CID contains gold. If condition = true, the Targeted Content widget displays a ContentBlock widget that promotes gold necklaces.
If condition = true, the Targeted Content widget displays a WebCalendar widget that lists upcoming NASCAR races.
If condition = true, the Targeted Content widget displays a TaxonomySummary widget that lists all couches and the discounted price.
If condition = true, the Targeted Content widget displays an Activity Stream widget, set up as follows:
ObjectID
= ID of the Engineering group FeedType
= Community GroupIf condition = true, the Targeted Content widget displays a TaxonomySummary widget that lists all content assigned to the category Restaurants > Pizza.
If condition = true, the Targeted Content widget displays a ContentBlock widget that promotes Sony products.
Prerequisite
The Targeted Content widget must be on the list of widgets assigned to the page's template. See Also: Adding the Wireframe and Widgets into Ektron
www.example.com
). Use this to determine the visitor 's originating site, such as a Facebook fan page.
cid=gold
.If the URL of the page that hosts the Targeted Content widget contains cid=gold
(for example, http://www.mystore.com/product.aspx?cid=gold)
, then display widgets assigned to that Targeted Content widget.
Example:
Zip code is a Custom User Property. You want to display a list of stores in New Hampshire for users whose Zip Code begins with 03.
Logic operators:
Examples:
Logic operators:
Examples:
Logic operators:
Examples:
Logic operators:
Examples:
Use Contains with Free Text Fields
On fields that use free text (such as Likes), you should use the contains operator, as opposed to is or is not. Contains is more flexible and finds a partial match. For example, if the user likes U.S. Soccer and you enter the term soccer and the contains operator, a partial match is made, so the user sees the related widget. On the other hand, if the user likes U.S. Soccer and you enter the term soccer and the is operator, an exact match is not made, so the user does not see the related widget.
The Likes Field
The Likes field lets you search through users' Facebook profile Likes and Interests. Or, you can narrow it down to a specific like/interest. For example, you could display a widget promoting Red Sox merchandise if, in their Facebook profile, users like a Sports Team that contains Red Sox.
NOTE: You would typically use this criterion last, since it always evaluates to true. Any conditions below this are ignored.
To create a custom version of the Targeted Content widget (for example, to add rule templates):
siteroot/widgets/Edit TargetedContent.ascx.cs
file. MyRuleTemplate
), that inherits Ektron.RuleEditor.RuleTemplate
in #region Rule Templates
.private void AddAllRuleTemplates.
AddRuleTemplate(new MyRuleTemplate());
A condition can have several criteria joined by and an AND operator.
In the following example, all conditions must be true for the widgets assigned to this Target Content widget to appear.
If any of these condition is not true, the next condition assigned to the widget is evaluated, if one exists.
If all conditions are true, the widgets assigned to this Targeted Content widget appear. Additional conditions assigned to this widget are ignored.
You can also specify an OR relationship among criteria in one condition. To do so, click +or below any condition (circled below), then enter the OR condition.
For example, assume you want the time zone criteria to include Eastern Time and Pacific Time (but not in between).
Each set of criteria is evaluated independently. If any criteria set is true (that is, all of its statements are true), the widgets assigned to this Targeted Content widget appear. Additional conditions assigned to this widget are not evaluated. If none of the criteria sets is true, the next condition assigned to the widget is evaluated, if one exists.
NOTE: This assumes you are on the PageBuilder page that contains the widget and in Edit mode.
NOTE: This assumes you are on the PageBuilder page that contains the widget and in Edit mode.
A Targeted Content Configuration is a Targeted Content widget that you create and save in the Ektron Workarea so that you can reuse the same Targeted Content widget on more than 1 Web page. When you drop a Targeted Content widget onto a PageBuilder page, you can choose a widget from the saved configurations in the Workarea.
After you choose a Targeted Content Configuration for a Targeted Content widget, you cannot edit its conditions on that page. You can edit the configuration only in the Workarea. If you later change a configuration setting, all widgets using that configuration are automatically changed. See Editing the Criteria of a Condition.
IMPORTANT: If you apply no conditions to a configuration and reference it in a Targeted Content widget on a PageBuilder page, nothing appears on the page.
Creating a targeted content configuration is similar to creating a Targeted Content widget.
Prerequisite
To access this screen, you must be a member of the Administrators group.
To create a Targeted Content Configuration:
If you edit a Targeted Content Configuration that is placed on one or more PageBuilder pages, the pages show the changes after you publish the page.
Prerequisite
To access this screen, you must be a member of the Administrators group.
IMPORTANT: If you delete a Targeted Content Configuration that was placed on 1 or more PageBuilder pages, the pages display a blank area where the widget was dropped.
Prerequisite
To access this screen, you must be a member of the Administrators group.
To reuse to a Targeted Content Configuration:
Prerequisite
The PageBuilder page must include the Targeted Content widget.
NOTE: You can apply a global configuration to an existing widget. If you do, the global configuration replaces all conditions and results you previously applied.
The following conditions cause this image to appear.
IMPORTANT: You need an account on Brightcove to show videos in the Ektron Brightcove Video widget.
Your Brightcove.com account lets you upload, store, and play videos on your Web page with the Ektron Brightcove Video widget.
You see the following screen the first time you use a Brightcove Video widget if you have not entered account information in the Workarea. Enter your Brightcove account information here. After you successfully save your account data, this screen does not appear again.
Follow these steps to play videos with the Brightcove Video widget.
NOTE: Brightcove provides the values for the Global Settings for this widget on your Brightcove Account pages. Log in to Brightcove and go to Account Settings > API Management.
NOTE: You can upload your video using your Brightcove.com account or follow these steps and upload a video using the Ektron Brightcove Video widget.
A message on the Edit window shows that the Video is being uploaded. In this example, we are uploading the Training Program 8.0 video.
NOTE: Your video may not be available to view immediately after uploading. Allow time for Brightcove to publish it or check its status on your Brightcove Account page.
The following image is an example of the Brightcove Video widget on an Ektron OnTrek website page.
If your videos do not show in the Brightcove Video widget, check the following topics.
Check the status of your video by logging into your account on Brightcove and looking for it in the Media Library.
According to Brightcove's article Uploading Videos with the Media Module, "Your video files can use most available file formats; if your files are not already encoded as VP6 (FLV—Flash video) or H.264, Brightcove transcodes them into one of those formats."
Check the publisherID setting in the widget Configuration.
Widgets are located in the Ektron webroot/siteroot/widgets/
folder. Ektron assigns standard names to widgets, but Ektron administrators can change a widget's name on the Synchronize Widgets Screen.
Activity Stream—Displays activities of a user or group, depending on the type of page on which it is placed. See Also: Using the ActivityStream Widget
Blog—After you select a blog id, displays posts from that blog.
Brightcove Video—Plays a Brightcove video. See also Using the Brightcove Video Widget.
Collection—Displays a collectionA list of Ektron content links for display on a Web page.. You select a Collection ID.See Also: Working with Collections
ContentAnalytics—Displays information about a set of content or products. The following figure shows the Highest Rated products in the default Software taxonomya content-level categorization system that uses one-to-many relationships (such as Ronald Reagan is to Actor, Governor, and President) to create a scalable organization of content. A taxonomy lets your site visitors navigate content independent of the folder structure..
Content Block—Lets user enter a content ID and display that content in the widget. Alternatively, user can create new HTML content from the widget.
Content List—Displays a list of content blocks. In contrast to a List Summary, where content must be in a specified folder, the ContentList control displays content from any Ektron folder.
Content Review—Places a ContentReview server control on the page. This control allows site visitors to rate and review the current page. See Also: ContentReviewserver controla server control uses API language to interact with the CMS and Framework UI to display the output. A server control can be dragged and dropped onto a Web form and then modified.
Flash—Displays a selected flash file which resides in Ektron. You can also set the display’s height and width. See Also: Using the Flash Widget
Flickr—Display Flickr’s Most Recent or Most Interesting photos. The user also can select the number of rows and columns for the image display.
GoogleGadget—Select from several Google feeds to display in the widget.
HelloWorld—Very simple widget. Created by Ektron to help developers understand how to create their own widgets.
iFrame—Lets user enter a path to a Web page or an item on the Web page.
List Summary—Displays an Ektron List Summary, a list of certain types of content in a selected folder. See Also: ListSummary (deprecated) server control
MessageBoard—Allows user to leave comments on the page. See Also: MessageBoard server control
Metadata List—Displays content whose metadata fits a selected folder location and keywords. See Also: MetadataList (deprecated) server control.
Most Popular—Reports on the following categories of content on your website: Most Viewed, Most Emailed, Most Commented, or Highest Rated. See Also: Most Popular Widget
Multivariate Experiment—This controls the experiment. Settings include the target content number, start/stop button and the Report hide/show button. See Also: Setting up a Multivariate Experiment
Multivariate Section—Lets you drag and drop various content widgets. These produce the variations used during the experiment. See Also: Setting up a Multivariate Experiment
Multivariate Target—When a page view occurs on a page containing this widget, the conversion count is increased. See Also: Setting up a Multivariate Experiment
ProductAnalytics—Displays information about a set of content or products. The following figure shows the Highest Rated and most Viewed products in the Hardware taxonomya content-level categorization system that uses one-to-many relationships (such as Ronald Reagan is to Actor, Governor, and President) to create a scalable organization of content. A taxonomy lets your site visitors navigate content independent of the folder structure..
Responsive Image—Adds a responsive image to a page.
QRCode—Generates a QR code based on the information you provide.
RSS Feed—Allows a user to enter the path of an Really Simple Syndication (RSS) feed.
Spacer—Lets you create an unused space on the Web page.
TabPlus—Lets you display more than one type of content in a tabbed widget. You can display a tab for a Content Block, a List Summary, a Collection, or Upcoming Events.
Targeted Content—Lets you create a set of conditions. As soon as any condition evaluates to true, an appropriate widget appears. See Also: Personalizing a Website Experience Using the Targeted Content Widget
Taxonomy Summary—Displays content assigned to a taxonomya content-level categorization system that uses one-to-many relationships (such as Ronald Reagan is to Actor, Governor, and President) to create a scalable organization of content. A taxonomy lets your site visitors navigate content independent of the folder structure. category. See Also: Organizing Content with Taxonomies , Directory server control
Trends—By default, the Trends widget shows the Most Viewed content on your website. You can edit the widget so it displays any of these content categories instead: Most Emailed, Most Commented, or Highest Rated. See Also: Trends Widget
Upcoming Events—Shows a list of scheduled calendar events.
WebCalendar—Provides full calendar functionality, including adding events. See Also: Working with Calendars