A Micro-messaging bookmarklet, a feature of Ektron's Community Management, lets you use a micro-message to inform colleagues about a Web page without leaving it. To create this micro-message:
NOTE: In Internet Explorer, these toolbar shortcuts are known as favorites. In Firefox, they are known as bookmarks. This documentation calls them bookmarks.
Prerequisite: To enable the Bookmarklet feature, a developer places a Using Ektron's Micro-messaging Bookmarklet on a page and (if desired) Review and Modify the Post to Profile Form.
Before anyone can use the Micro-messaging bookmarklet feature, you must add a Bookmarklet link to your bookmark toolbar or menu.
NOTE: The text of the Micro-messaging bookmarklet link changes according to the user's browser. Also, the image above text reflects default text; developers can easily change it.
NOTE: If you are not logged in to Ektron, you are prompted to do so.
The micro-message appears in the user's Activity Stream if it is set up to track micro-messages.
The Bookmarklet server control is a template-based server control. For more information on these types of server controls, see Using Ektron Building Block Server Controls.
bookmarklet.aspx
) is installed to siteroot/Developer/Micromessaging
.
The Micro-messaging Bookmarklet server control detects the user's browser and modifies the text accordingly.
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.
Use this field if you want to change the .css class used in the default template’s outermost wrapper (DIV tag). This lets you change the styling and appearance of the server control without having to change the markup.
The path to the page that appears when a user clicks the Micro-messaging bookmarklet link. By default, when a user clicks a Micro-messaging bookmarklet link, the user is redirected to the siteroot/Workarea/share.aspx
page.
Hides or displays the output of the control in design time and run time.
A unique name you apply to this instance of the control.
Lets you include or exclude the control's default .css file, which provides the "look and feel" of the control on a Web page.
Set a language for viewing content; shows results in design-time (in Visual Studio) and at run-time (in a browser).
The text that appears on the Micro-messaging bookmarklet link.
To modify the look and feel of this area, edit the ektron.micromessaging.bookmarklet.css file in the siteroot/Workarea/csslib
folder.
To modify the look and feel of this icon, edit the ektron.micromessaging.bookmarklet.css file in the siteroot/Workarea/csslib
folder.
The height of the Micro-messaging bookmarklet link window in pixels
The width of the Micro-messaging bookmarklet link window in pixels
The name of the Web site using this server control. The SiteName value is embedded in the instructions for adding the bookmarklet to the toolbar. See example below.
Ektron provides the following sample form to appear when a user clicks the Micro-messaging bookmarklet link on his browser's Bookmarks menu.
The sample form is siteroot/Workarea/
. To modify this form or create your own, enter the new path into the Micro-messaging Bookmarklet server control's share.aspx
FormURL
property.
NOTE: 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.
Here are a few things to note about this form's behavior.
PopupHeight
and PopupWidth
properties.The Micro-messaging Bookmarklet server control is template-based which means you can change the control's appearance without an extensive XSLT or EkML file.
The Javascript used to render the Bookmarklet control is loaded into the Href
property of the control's anchor tag.
The following code shows the first Bookmarklet server control in bookmarklet.aspx
.
<li>
<div class="controlWrapper">
<h3>Default</h3>
<CMS:micromessagingbookmarklet ID="bookmarkletDefault" runat="server" />
</div>
</li>
Because Bookmarklet is a templated server control, you can enter any valid markup, and it will be rendered exactly as you entered it. As examples, you can enter the following items within the <div>
tags that surround the control.
<strong>