![]() |
Enterprise Systems »
Content Management Server »
General
Intermediate
License: The Code Project Open License (CPOL)
Microsoft Content Management Server Web Author Dynamic ConsoleBy Stephen HuenA dynamic Web Author console for use in Microsoft Content Management Server (CMS). |
Javascript, .NET, Win2K, WinXP, Win2003, ASP.NET, Visual Studio, Dev
|
|
Advanced Search Add to IE Search |
|
|
|
||||||||||||||||

This collection of files creates a dynamic Web Author console for use in Microsoft Content Management Server (CMS). This dynamic console does not take up space in your web page. Authors click on an icon to expand or collapse the console. It contains 4 different themes (even a matrix theme!) for different look and feel. Users can design their own theme by customizing the included stylesheet.
Screen dumps showing the dynamic console in various themes.
This is an user control for displaying "Switch to Edit Site" and "Switch to Live Site". The switch is taken out of the console for more flexible and better user friendly placement.
This is an user control for displaying an icon. When user clicks on the icon, the dynamic console shows or hides itself.
This is an user control for the dynamic console content.
This is the support JavaScript file for the dynamic console.
These are the icons for (3).
This is the stylesheet for the dynamic console feature in Theme.gif.
<%@ Register
TagPrefix="CMSUser"
TagName="PublishingModeLink"
Src="../UserControls/PublishingModeLink.ascx"
%>
<%@
Register
TagPrefix="CMSUser"
TagName="DynamicConsoleTrigger"
Src="../UserControls/DynamicConsoleTrigger.ascx"
%>
In the HTML tags where you want to show the link and icon, reference the controls. For example:
<td align="right" nowrap><CMSUser:PublishingModeLink
id="PublishingModeLink" runat="server" /><CMSUser:DynamicConsoleTrigger
id="DynamicConsoleTrigger" runat="server" /></td>
.StyleConsoleLayer {
...
right: 10;
top: 120;
...
}
The following says the console is positioned at 120 pixels from the top of the container/browser window and 10 pixels from the left of the container/browser window:
.StyleConsoleLayer {
...
left: 10;
top: 120;
...
}
<head></head>) of your page templates. For example: <head>
....
<link rel="stylesheet"
href="../style/console.css">
....
</head>
Also change references to the console control from the default one to the dynamic console.
Note: By default, MCMS will render a base tag with the href of a template so that the relative links to images, scripts or stylesheets will resolve based on the template URL instead of the Posting URL seen in the browser. All the links are formatted relatively based on this assumption. If this is not the case, you may need to reformat the relative links or change them to absolute links.
General
News
Question
Answer
Joke
Rant
Admin
|
PermaLink |
Privacy |
Terms of Use
Last Updated: 22 Jan 2004 Editor: Smitha Vijayan |
Copyright 2004 by Stephen Huen Everything else Copyright © CodeProject, 1999-2009 Web19 | Advertise on the Code Project |