GotDotNet Code Samples
Updated: February 17th 2006.
There are currently 155 genuine User Samples on GotDotNet.
I don't include links to non MCMS samples posted to the MCMS section, or my GDN samples here!
GotDotNet is often offline (especially the downloads section) so I recommend you
use this page along with a download tool such as FlashGet to grab the samples.
HttpModule to allow usage of PostBackUrl property with MCMS and ASP.NET 2.0 by Stefan Gossner
ASP.NET 2.0 introduces a new feature to allow cross-Postbacks to other webforms using the PostBackUrl property. This method is very nice and allows to replace ugly workaround that were required in ASP.NET 1.x like using GET requests with query strings or adding client side script that cleared the viewstate form field. There is only one caveat with this new method: It does not work with MCMS 2002. MCMS 2002 Service Pack 2 which is required to allow MCMS to work with ASP.NET 2.0 adds some additional client side javascript code that prevents the PostBackUrl property from working properly as it always changes the Url back to the MCMS template file. So the logic of this client side script does not handle the cross-Postback situation correct. This http module allows to resolve the problem. See here for details: http://blogs.technet.com/stefan_gossner/archive/2006/02/15/419617.aspx
Generate google sitemap for MCMS site by Steven Mostinckx
Application to generate a google sitemap for CMS sites DotNet framework 1.1 / MCMS
MCMS Random Flash Movie Placeholder Control by CroweMan
The Random Flash Movie Control will allow an author to select one or more flash movies from the resource gallery. One of the movies will be randomly displayed when the user is in presentation mode.
DLL Version of Tool to get resource dependencies by Stefan Gossner
MCMS does not provide a mechanism to identify if a resource gallery item is currently being used by a posting or not. This DLL closes this gap by allowing to get a collection creating a report for all resource gallery items showing all postings pointing to a specific resource.
MCMS Security API for .NET by Sandeep Maheshwari
This is a class library in C# that provides easy access from .NET applications to the MCMS COM Security API. It can be used in Windows or ASP.NET applications running on the MCMS Server. The methods provided by the class library are simple and self explainatory and a sample test application is provided in the zip file for sample usage guidelines.
Note - I wouldn't use this if you expect support from Microsoft!
CMS Object Helper by Murray Thompson
Set of methods to assist with managing various CMS objects: -Get a CMS Object display path from its GUID, and return original string if object not found -check placeholder for non-whitespace content -show/hide control -check if a resource's text-based property is prefixed or suffixed by certain text (could be expanded to other objects).
ASP.NET 2.0 MembershipProvider Framework for MCMS by Stefan Gossner
This framwork allows easy development of MembershipProviders for MCMS.
HttpModule to enforce compatibilty between MCMS and ASP.NET 2.0 in Authoring Mode by Stefan Gossner
ASP.NET 2.0 generates different html code as ASP.NET 1.1. The Javascript code from MCMS is not compatible with the new format.
This http module adjusts the the html to work with MCMS 2002 SP1a.
HyperLink Dependency Report Generator by Lim Mei Ying
Tool to generate list of hyperlinks to channels and postings. Report is generated as a CSV file.
Random Image Placeholder Control by Stefan Gossner
Display a random image from a resource gallery the author configured. Non-Image items in the resource gallery will be ignored.
HttpModule to enforce compatibilty between MCMS and ASP.NET 2.0 Themes by Stefan Gossner
Stylessheets for ASP.NET 2.0 themes are registered using a relative path. This HttpModule corrects this problem. More details here: http://blogs.technet.com/stefan_gossner/archive/2005/07/13/407655.aspx
MCMS Site Map Provider for ASP.NET 2.0 by Stefan Gossner
Sample provider which can be used with the ASP.NET 2.0 navigation controls to implement site navigation with MCMS. Details see here: http://blogs.technet.com/stefan_gossner/archive/2005/06/28/406918.aspx
Search and Replace content by kkwak
Someone asked if they can do a mass search and replace on CMS content. So I wrote a quick script to do that. Perhaps someone might find it useful. Binary + Source.
CMS Users Search by Giammin
Searching for users with their roles and group in MCMS is a usefull feature which is not available in current MCMS API.
Even though it can be easily done using UNSUPPORTED MCMS API I used Microsoft.ContentManagement.Interop.AEServerObject.dll.
This is an UNSUPPORTED API, it is not supported by MSFT.
CMS Tool 2005 by grappange
This tool lists the channels/postings/custom properties/Template Galleries/ Templates etc of a CMS 2002 Server. You can export these
lists to Excel. I also added a Search function, you can search a posting by filling in the template name.
Enhanced authorization module for MCMS by Stefan Gossner
The CmsAuthorizationModule shipped with MCMS does not work properly when using a MCMS posting as login page. This module can be
used as replacement for the out-of-the-box control and solves this problem.
MCMS Manager by Chester Ragel
In Microsoft Content Management Server (MCMS) after the creation of the sites, to
do modification to the postings there were no common way to do so. As a developer
I thought there must be a tool which can be used to maintain the sites easily.
Mostly when something goes wrong with postings, it is not that easy to figure
out what went wrong with neither Site Manager nor going through the site.
Switch MCMS Template by Kyong Kwak
switch out templates by creating a new posting and copying it's data over to the
new template. the existing template is then expired. *source only*
Template Switch by Kyong Kwak
Switch out templates for a posting (by creating a new posting then copying data
- it expires the old posting).
CMS and SharePoint Connector Demo by Bob German
New demo for Microsoft Content Management Server, with or without the Connector for SharePoint Technologies. Includes the following: - Basic CMS authoring, editing, and approval in a real-world design, including the Authoring Connector - Improved authoring experience with the new Telerik r.a.d.editor control for CMS - Flexible navigation based on channels and postings, including ability to modify the navigation via the CMS authoring console - Multi-lingual content and language-agile content templates - Manipulating structured data via XML placeholders Content syndication, both in-bound (via a web service) and out-bound (via an RSS feed and an XML file drop) - Connected postings to a SharePoint site using the CMS Connector for SharePoint Technologies - Publishing XML documents (WordML or InfoPath) from a SharePoint document library to CMS using the CMS Connector for SharePoint Technologies.
Tool to get dependency reports for resource gallery items by Stefan Gossner
MCMS does not provide a mechanism to identify if a resource gallery item is
currently being used by a posting or not. This tool closes this gap by creating
a report for all resource gallery items showing all postings pointing to a
specific resource.
MSIB Plus Pack Components by MSIB Plus Pack
24 Components.
A to Z
Accessibility
ActivatePlusPack
AffinityItems
CMSLogFileReporting
ContactSelector
Content Auditing
EventCalendar
Also, check this page for the missing DB Script.
ExternalAuthenticationModule
FAQ
GovGateway Authentication
InformationArchitecture
LAWS Accelerator
Metadata
Microsite
Navigation
Nearest
News
PageTransformer
ProductLicensing
Publishing Tasks
Sample Site
Setup Package
Metadata 1.1
MCMS2002: CustomPropertyDbEx Manager by Andrew Connell
Web application to help in managing the CustomPropertyDbEx properties for a
MCMS application.
MCMS2002: CustomPropertyDbEx by Andrew Connell
MCMS2002 contains a feature to wrap CMS objects with some metadata… otherwise
known as custom properties. These custom properties can be managed through the
included MCMS Site Manager utility. Developers can also interact with these
properties via the publishing API (PAPI). However, with all that Microsoft as
provided with custom properties, there are some very notable issues when
working with custom properties. CustomPropertyDbEx moves all custom properties
to a database for performance and feature enhancements.
HttpModule to Replace Characters On Render (un-escape Telerik r.a.d.Editor characters) by Angus Logan
When you set AllowSpecialTags=True with the Telerik r.a.d.Editor to allow non
html tags (ie. <object> etc) they replace <> with ~LT~ ~GT~. The
radEditor will un-escape these characters when used for presentation but if you
are manually retrieving the HtmlPlaceholder.Html the value is still escaped -
so your content looks garbled. This HttpModule can be configured via the
web.config so it can replace any Value with another value set in the web.config.
Cms Health Check by Angus Logan
MCMS experiences performance drops when a container holds more than 300 entities
and there is no 'easy' way to identify these containers. This console application
identifies these containers and writes a log of the paths.
IT Hit MCMS Web Author Enhancement by Vladimir Lichman
IT Hit MCMS Web Author Enhancement replaces 3 standard MCMS Web Author dialogs
with more convenient dialogs and installs new popup console. "Insert Hyperlink",
"Copy Page" and "Move Page" web-dialogs are replaced with new one making it
easier to browse big site structure. While standard Web Author tree reloads
page each time user clicks '+' Web Author Enhancement dialogs load data using
XML and does not reload page. Console uses floating frame and is not
overlapped by TEXTAREA, SELECT and ActiveX controls. You can call console with
a double click on a page.
Property Authoring Server Control by Stefan Gossner
A common question I received from customers is that they would like to edit property
values during authoring time similar to editing placeholder content. This server
control provides the solution for this. Here is an
Article
with more details.
CMS/WSS Integration by Grant Hodgkinson
This is a simple placeholder that allows the author to select documents from a
WSS site and make them available from CMS.
Get channel/posting count from any root channel by Mocha
Stored procedure for retrieving the total number of channels in a given root
channel. Haven't tested many scenarios (i.e. deleted postings, hidden channels,
connected postings) but it's easily modified. Currently retrieves only approved
postings with a template attached. A similar procedure is included for channels.
NOTE: I'm pretty sure your support from Microsoft is gone if you start mucking
with the database in this fashion.
MCMS Plumtree Integration Pack v.2 CODE by B Fox
Content creation, management, and storage are critical aspects of any
organization's portal. Organizations with an investment in Plumtree Corporate
Portal 5.0 can take advantage of Microsoft Content Management Server 2002 to
manage and publish original content using the familiar Plumtree administrative
interfaces.
MCMS Plumtree Integration Pack v.2 DOCS by B Fox
Content creation, management, and storage are critical aspects of any
organization's portal. Organizations with an investment in Plumtree Corporate
Portal 5.0 can take advantage of Microsoft Content Management Server 2002 to
manage and publish original content using the familiar Plumtree administrative
interfaces. This download includes four documents: - White Paper - Deployment
Guide - Configuraiton Documentation - Code Documentation
Building MCMS 2002 sites without Visual Studio.NET by Steve Walker
This sample provides the minimum set of files required to create a Content
Management Server site without using Visual Studio.
XHTML compliant MCMS placeholder by Steve Walker
This sample modifies the Content Management Server 2002 HTML Placeholder control
to convert markup in the placeholder content to XHTML when rendered. It doesn't
provide a comprehensive conversion but additional transformations can be easily
added if required. A Visual Studio.NET 2003 project file is included.
Switch placeholders based on custom property by Steve Walker
This sample shows how to display one of two placeholders according to the value
of a custom page property. It was intended to allow a customer to display
exceptional information (e.g. service disruption) on their site for a temporary
period and be able to reinstate normal content once normal service had been
resumed. A sample template is included.
Server-Side Tree Navigation for MCMS 2002 by Steve Walker
This code sample illustrates how to display a tree view of the channel
structure in a MCMS 2002 site. The tree show the current posting as a
high-lighted link and the sibling postings and channels as normal links in an
open folder. All parent channels are show as closed folders in a 'collapsed'
tree hierarchy.
Resource Finder by Mei Ying
This script provides a list of postings and resources that they link to. It can
be used to find out: * Postings that link to a particular resource * Whether or
not a resource has been linked to a posting * The number of times a resource
has been linked The output is a CSV file containing * the posting's path, *
the resource's path and * the name of the placeholder. Open the CSV file in
Excel and use its sorting/filtering capabilities to get the answer you need.
RSS aggregator placeholder control by Stefan Gossner
This is a custom placeholder control for MCMS which can be used to display
information published in an RSS feed somewhere in the internet on a MCMS Web
site. Has several parameters to configure the feed. Also contains a css file
which should be embedded into the template to get it displayed nicely.
CMS InView by Davie Sweis
CMS InView Server and Reader is an application which allows users using Microsoft CMS 2002 to view information in a more usable and customizable way. A two part application which consists of a server piece and a reader. The server will publish all information concerning CMS using an xml schema and the reader will be a windows forms application which will consume the information and display to the user. You can find the workspace for this project at http://workspaces.gotdotnet.com/cmsinview
Updated interface for MSCMS Page Revert by Chansky
This is an updated Web Form for the MS CMS page revert add in provided by Stefan
Gossner. The interface is now modified to include the standard MS CMS look and
feel. Added a javascript function to update(refresh) the parent window once a
page has been reverted. You will need to look at Stefan's original Page revert
download on how to implement this if you have not got this setup for your site.
Export Resource Galleries using SDAPI by Stefan Gossner
This sample demonstrates how to export resource galleries using SDAPI. SDAPI
does not allow to do this directly so a helper posting is generated that gets
links to all resource gallery items. After the export is done the helper posting
is deleted. To import it either use normal methods or extend your import script
to remove the helper posting also on the production machine.
Reset Start Date by Mark Van Dyke
Simple utility for reseting the start date of ChannelItems. Used to reset the
root channel start date which defaults to the installation date and cannot be
changed in Site Manager. When using the Start Date on Channels/Postings for
archival purposes, the need arises to have start dates earlier than the
installation date.
MCMS Sample Component Installer by MetaLogix
The sample aggregates some of the most popular MCMS samples into one seamless
installer. After installing the sample installer on your machine, you will be
able to deploy sample components using a simple wizard implementation. Full
documentation about how to install the contained sample components is included.
Enhanced Version of RobotMetaTag Server control that also works in Channel Rendering Scripts by Stefan Gossner
Enhanced Version of RobotMetaTag Server control that also works in Channel
Rendering Scripts. The version shipped with MCMS only works in Postings.
CMS reDirector by lo2u
The reDirector control allows you to create postings that redirect to other
resources. The control is able to re direct to a URL or a resource URL stored
in the webconfig file. It uses an XMLPlaceholder as its data store. The control
is particularily useful if you are using the UKIB Navigation control. With a
redirect template you are now easily able to add external links to you
navigation and also links to other sections of your site.
HtmlPlaceHolder w/Title, uses Stylesheet by Nekcih
This is a custom html placeholder that uses the blank grey area at the top of
the placeholder as a title bar. It also can use a stylesheet in the placeholder
body while editing.
Placeholder Replacer by Davie Sweis
This is a quick and dirty way of removing content from one placeholder and
pasting it into another. It takes in a channel path and two placeholder
definition names, and can traverse the channel tree searching for a match. This
will currently work on only HTMLPlaceholders and ImagePlaceholder types.
HttpModule to avoid the ugly URLs being caused by postback calls by Stefan Gossner
When postbacks happen by switching from edit mode to live mode or being caused
by ASP.NET controls the URL in a browser will become an ugly string. This
HttpModule solves this.
Details see here: http://weblogs.asp.net/stefan_gossner/archive/2004/04/23/118623.aspx
Last updated based on the infos here: http://blogs.msdn.com/stefan_gossner/archive/2004/04/29/122527.aspx
CmsSslHttpModule by Stefan Gossner
This HttpModule makes it easy to SSL enable parts of a MCMS Web site. It manages
switching between SSL and http for dedicated channels. No additional coding in
the template project is required. Just integrated this http module and set the
RequireSSL custom channel property to "yes". The rest will be handled by the
http module.
CMS Publishing Tasks by lo2u
This control set forms part of a starter pack of controls I am working on. I
will release more controls as time permits. This pack contains all the required
code to add publishing tasks to your CMS system. Drastically reducing the work
required to create/edit and navigate postings. Ideal for regular tasks such as
Press releases. Also includes an admin interface.
Training for MCMS 2002 Connector for SharePoint Technologies (Spark) by Arpan Shah
This file contains training and setup instructions for Spark.
Hideable Html Placeholder Control by Stefan Gossner
Using the hidden attribute of a HtmlPlaceholder control or hiding a placeholder
control though other methods like inline code in the template file causes problems
in authoring mode (e.g. loosing content in hidden controls). This placeholder
control exposes its own property to hide and show and also preserves the content
when hidden in authoring mode.
MSCMS2002 FreeTextBox Editor by Artemis
This CMS2002 Placeholder control wraps the 'FreeTextBox' WYSIWYG editor component,
allowing FTB Editor to be used on CMS Templates. Currently works with FTB1.6.5;
easily extensible to expose all required FTB members; updated version to follow.
SiteStager for ASP.NET and ASP based templates by Stefan Gossner
MCMS 2002 does not allow to create a static copy of a MCMS Web site with ASP.NET
based templates. Creating static copies is often very useful – e.g. when you create
a CHM file based on your web site content or if you would like to archive a snapshot
of the website at a specific time for documentation. The recommended method to
create a static copy of a MCMS web site is to use a 3rd party web crawling tool.
The problem with such tools is that they usually fail to work when the links between
the posting are not rendered as html link but (e.g.) created with client side XML/XSL
or JavaScript. This tool does not have this limitation.
Stand-alone Template Manager for MCMS 2002 by Steve Walker
Here is a simple .NET Windows app for managing MCMS 2002 template definitions
without using Visual Studio.NET. Unzip the files into a convenient location and
add the following files from your MCMS 2002 setup: DeveloperTools.xml
DeveloperTools.xsd Microsoft.ContentManagement.DeveloperTools.ToolControls.dll
Microsoft.ContentManagement.DeveloperTools.ToolsModel.dll If you've installed
the MCMS developer tools you can find these in the DevTools sub folder of the
MCMS Program Files location (if not you can get them from the SP1a download).
Build the source using the command line shown in the source file. For
convenience I've included a pre-compiled assembly (.NET 1.1). The four MCMS
files are also required to run the application so keep them in the same folder
as the .exe.
Webauthor Extension for paging and sorting of tree and list views in standard dialogs by Stefan Gossner
I've often received requests from customers whether the tree view or list view elements can be sorted by default. And whether the default for the number of items being displayed can be changed as the default number of five items is not very comfortable. This solution addresses this. Additional information in the included Word document. Update: Feb. 18 - added hyperlink tree view. I missed this in previous release.
CMS: Find all postings that use a template by Andrew Connell
This console app will find all the postings in a CMS channel hierarchy that use
a specific template.
MSCMS HTMLEditControl WYSIWYG Editor V1.0 by lo2u
This control will sit in place of existing Microsoft CMS HTML placeholders. The
control is not ActiveX and provides authors with a better WYSIWYG editing
enviroment, The .zip comes comeplete with a simple, single template working
sample site (includes SDO file). This initial version has some limitations, but
is easily extensible for users with JavaScript and C# knowledge. I will be
creating a project section for this control shortly, along with extensive plans
for version 2.0.
QuickTime Placeholder Control MCMS2002 by Dwayne D
Sample Placeholder Control for QuickTime Movies uses an Attachment Placeholder
to hold the Link to the QuickTime Movie. Width and Height can be defined at
template level but might be overridden in the AttachmentText property. Format
(x,y). This is a version I modified from Stefan Gossner's Flash Placeholder
Control, so all the credit goes to him. Thanks Stefan! Added autostart option
to the control's properties.
CMS String Searcher by Andrew Connell
Ever needed to search for a string in an entire CMS2002 site? We did... run this
console app on your CMS2002 sever and specific a specific string. It will search
through every Html & Xml placeholder in every posting in every channel &
subchannel in the site for the specified string and generate an Html file for
the report.
MCMS HTML Editor Placeholder by SampoSoft
This component allows you to use MCMS ActiveX HTML editor without saving data in CMS with the same functionalities of htmlplaceholdercontrol. You can set and get the HTML from this control and store it in the database.
MetaData and MetaTags CMS Placeholder Control by Michael O'Donovan
Using an XML file define the fields that should be captured and displayed as
META tag elements. It is a custom CMS placeholder control that allows authors/
editors to complete meta data section in a posting where this control has been
added. The content is persisted as XML in the placeholder. View the readme.doc
in the download for more information.
MCMS WebDav Support module by SampoSoft
This module allow to manage the resource gallery of mcms web site with windows explorer. You can copy and paste your files, open a document directly from word, change the content and resave it!
XML Serializator PlaceHolder Control MCMS 2002 by SampoSoft
This PlaceHolder control allow to store into postings the content of a class that define public property. Serialize and deserialize the content of an xml placeholder. You can also create a ASP.NET user control that permit to edit and display this content.
Image placeholder control with align property by Stefan Gossner
This placeholder control does the same as the standard image placeholder control but it allows alignment of the placeholder control based on a control property.
MCMS 2002 Connector for SharePoint Technologies (Spark) Beta Tutorials by Arpan Shah
These tutorials are aimed at developers to help them get up to speed on the MCMS 2002 Connector for SharePoint Technologies. These should be used with the beta which can be found on Betaplace (linked from http://www.microsoft.com/cmserver). Shortly after final release, we will make the final training available on MSDN/TechNet.
Populate a default content to a html placeholder control by Stefan Gossner
Sometimes it is necessary to define a default value for a html placeholder control and giving this default value using the description property of the placeholder definition is not sufficient (e.g. because the content should come from a database). This sample demonstrates how to define a custom placeholder controls that defines a default value. You only have to add the logic to define where the default value needs to come from.
Delete posting incl. connected postings by invjbo
An extended action that deletes the
current posting and any connected postings. Include in your CMS2002 project and
include in Your console, to use this action.
Create a template definition programmatically including placeholder definitions by Stefan Gossner
An often requested feature is to
create a template definition programmatically (e.g. to replace the MCMS Template
Explorer). This includes adding of placeholder definitions and custom property
definitions to the template definition. This sample demonstrates how this can be
achieved.
Date Picker / Calendar Placeholder Control by Stefan Gossner
This is a placeholder control based
on the Calendar Control which allows the author to pick a date and store it it
in the placeholder object.
Plain Text Placeholder Control by Stefan Gossner
This sample demonstrates how to
utilize a TextBox control as client side editor. This can be interesting in
environments where no ActiveX controls can be used.
Console Action to create a 'shadow' posting on request by Stefan Gossner
This is a "proof-of-concept" and not
a ready to use solution to show how to implement a ConsoleAction to do updates
on the server when Webauthor is in unpublished mode. It shows how to implement
the redirect to update mode to ensure that the update can be done and the
additional redirect to unpublished mode. I would recommend this sample to
everyone who is interested in developing this kind of Console Extensions.
Class to Manage custom channel properties by Stefan Gossner
This sample implements an workaround
for the fact that there is no API to create custom channel properties using PAPI.
HtmlAttachmentPropertyPlaceHolder by da5id
This placeholder will locate all the
attached files and documents placed inside of an HtmlPlaceHolderControl, query
for its size and file-type and place, in parenthesis, the appropriate file type
icon and size in K-bytes next to the attachment link.
Save new Page without Name prompt by Stefan Gossner
An often requested feature is a console extension which allows to save a page without being prompted for a name (e.g. the name should be generated by a business rule).
CheckBoxList Placeholder Control by Trevor Grant
The placeholder appears as a checkbox list in authoring mode. Selected items are stored in an XmlPlaceholder. When presented to subscribers, the selected items are rendered in a simple table.
Revert page to previous Version by Stefan Gossner
Console Extension to revert a posting to a previous version.
Unlike the previous version of this component, this should work for any arbitrary placeholder type (out of the box CMS ones, 3rd party, and custom).
CMS FilterContainer Console Control by CJ Walker
This is a container control similar to the PresentationModeContainer and AuthoringModeContainer's used in the DefaultConsole. This container allows you to show or hide contained Actions when the current Channel and/or Template is the same as the specified properties.
Select Button Placeholder Control by Stefan Gossner
This is a sample to implement a
CheckBoxPlaceholderControl to store bool values in convenient form.
Custom Authorisation Module form MSCMS2002 by SampoSoft
Custom Authorisation Module that checks the expiry of a CMS2002 cookie and
signs out and redirects to the login url configured in web.config.
IIS Log File Convertor by Yanno
CMSConvLog parses an IIS log file and converts - /NR/rdonlyres/<GUID> into the Resource.Path equivalent.
Also, source code here.
WebAuthor Source Code by SampoSoft
Microsoft.ContentManagement.WebAuthor source code 'decompiled' Salamander. Useful for customisation.
CMS Navigation Control v2.2 by lo2u
This latest iteration of the control includes A to Z mode and the ability to add items to the Navigation collection.
Sample to show how to modify the MCMS 2002 Edit Toolbar by Stefan Gossner
This sample adds additional buttons to align an image in an HtmlPlaceholderControl.
Stripping HtmlPlaceholderControl by Stefan Gossner
It will remove unwanted tags from a HtmlPlaceholder. You could adjust this to your needs. The current version removes the Office XML tags and all font formatting information to allow stylesheets to apply correctly.
Console Action: Save&Exit with ReleaseOwnership by Stefan Gossner
This Console Action calls ReleaseOwnership after each save to ensure that every Author is able to edit a Posting. Otherwise the Posting is locked until the Author submits his changes
Server Side Image Resize for Display by Stefan Gossner
This Webform can be used to resize images in a MCMS resource gallery before they are sent to the client. This can be used as a dynamic thumbnail generator. This webform opens the resource image as file stream, resizes it and sends the new image back to the browser.
PDF Placeholder Control by Stefan Gossner
Placeholder Control to demonstrate how to integrated PDF Content in CMS Postings
MultiAttachmentPlaceholderControl by Stefan Gossner
This sample demonstrates how to utilize the methods to access the Resource Gallery as done by the placeholder controls shipped with CMS. It implements a placeholder control which can hold multiple attachments similar to the SingleImagePlaceholderControl shipped with CMS.
ImageChangePlaceholderControl by Stefan Gossner
This placeholder control demonstrates how to utilize the Resource Gallery and Hyperlink Dialogs the placeholder controls shipped with CMS are using. It replaces the image in an onmouseover and onmouseout action. In authoring mode it allows the user to select both images and the hyperlink destination if required.
Shockwave Flash Placeholder Control by Stefan Gossner
Sample Placeholder Control for Shockwave Flash Movies. It uses an Attachment Placeholder to hold the Link to the Shockwave Flash Movie. Width and Height can be defined at template level but might be overridden in the AttachmentText property. Format (x,y).
FAQPlaceholderControl by Stefan Gossner
This sample placeholder control demonstrates how to extend the standard HtmlPlaceholderControl in authoring mode with new functionality. On button click it inserts a preformatted table to easily create FAQ pages.
DropDownListPlaceholderControl by Stefan Gossner
This PlaceholderControl allows the author to select a specified value from a DropDownList.
Console Action "Create New Page" with DefaultTemplateGallery attribute by Stefan Gossner
This Console Extension can be used to replace the standard "Create New Page" Action. It will check the current channel for the DefaultTemplateGallery attribute and open the Template Gallery Explorer at the defined gallery if defined.
Console Action "Decline with Reason" by Stefan Gossner
This console extension adds a new dialog to the decline action to ask for a reason when doing a decline action. The input is added to the data sent to the server and can be evaluated in the workflow event by reading Request.Form["DeclineReason"].
Script to return all expired postings in the CMS repository by Stefan Gossner
This Script will list all expired postings in the CMS repository
Client-Side validated Placeholder Control with enhanced Console Actions by Stefan Gossner
This is a sample placeholder control which allows content validation. It is required that you also replace the standard ReeditSaveAction and SaveNewAction with the version included in this sample to ensure that the validation is fired on save.
Script to Bulk Upload of files to a Resource Gallery by Stefan Gossner
This sample shows how to upload all files in a directory to a Resource Gallery by code. Much quicker as drag and drop to Site Manager.
Add WYSIWYG to the HtmlPlaceholderControl by Stefan Gossner
The HtmlPlaceholderControl shipped with CMS 2002 does not provide WYSIWYG. This means while editing the style added to the template are not applied to the content. The attached placeholder control will add this feature. It does only support styles added by external CSS files not styles added directly within style tags.
Placeholder Control to store all kind of Html tags by Stefan Gossner
Sample placeholder control that allows to store all kind of tags including Javascript code, Object tags, IFRAMES, ... in a MCMS placeholder.
CMSWebService by lo2u
Allows user to add a post via a web sevice
CMS Navigation V2.1 by lo2u
A few changes, the control now supports 'Natural sorting'. This means that channels and postings will now sort correctly as per their settings in site manager. All changes are documented in the readme.doc. NOTE: The project is now based in VS2003. Have fun. The control now has a workspace please feel free to join and submit change ideas.
CMS Navigation Control v2 by lo2u
This release includes several bug fixes and increased functionality. The documentation has been improved to include sample code.
Custom Placeholder project templates by lo2u
These files will add two new project templates to your 'New Project' menu. XmlPlaceholder HtmlPlaceholder These templates remove alot of the setting up work around creating new custom placeholders.
CMS Context Menu Console v.1.0 by R Ponte
Save screen real estate by making your default console appear when a user right-clicks on the Web Author version of your CMS site. Two versions are available: Console Context.ascx - Simple context menu / ContextOffice2003 - Enhanced context menu with the look and feel of Office 2003 (icons are included)
Templated CMS Navigation Controls by G Cannata
Two templated controls: a breadcrumb and a (multilevel) navigation control.
RichText Custom Placeholder by G Cannata
An alternative to HtmlPlaceholderControl
CMS Web Author DropDownList Console by Morris Charles
Replaces the standard "flat HTML" console that ships with CMS 2002 with a much more compact drop down list. The user selects the appropriate command simply by selecting the command from the list. Implementing it is as simple as replacing your current DefaultConsole.ascx file with this one.
CMS Tree Builder V. 1.1a by Mauirzio Macagno
Command-line tool which alloww to batch build a portion of a CMS web site, by defining channels, postings and custom properties (this feature is upgrade only). This allows to avoid manually create tons of channels and typical pages (such as default channel home page). Authors can successively go to the single page to complete the editing of the content. This application must be run on a CMS front-end server, and under the security context of a CMS administrator or a channel manager of the root channel.
Pygmalion PowerPoint CMS 2002 Placeholder by Charles Young
One of the submissions to the UKIB PEG in 2003, this CMS 2002 placeholder from Pygmalion Ltd. allows authors to select and upload PowerPoint presentations as CMS content. Presentations are saved using Microsoft's 'web archive' (MIME) file format.
calling SDAPI from managed Code by Stefan Gossner
These are two samples to use SDAPI from managed Code. To build these two console applications you need to add a reference to the following server-side SDAPI dll. To do this select the following DLL from the list of COM based DLL's in the Reference Dialog: "MSCMS Site Deployment (Server-side)"
Adding Placeholder Controls Dynamically by Stefan Gossner
Template without an HtmlPlaceholder control included. The HtmlPlaceholder control will be added dynamically in the Page_Load event. Can be modified to allow dynamic number of placeholder controls per page.
RenderPlaceholderServerControl by Stefan Gossner
This is a server control that behaves like a Placeholder in presentation mode. But it renders a Placeholder on a different posting! This can be used an a summary page or for common text (like legal notes or copyright) which need to be included on many postings. Supported Placeholders: HtmlPlaceholder, ImagePlaceholder and AttachmentPlaceholder (including generated Icon) and the Office variants.
Render Channel by Stefan Gossner
This is a channel rendering script that demonstrates how to list the content of a channel using a Grid Control and a Repeater Control.
Create Channel WBC plugin by Simon Says
This action allows a user to create a channel from within the WBC. The link will display on the WBC if the user has rights to create a channel. The new channel is created under the current channel, and inherits the parents rights.
CMS Web Author Item Sorting Extension by Morris Charles
This package contains files that can be used to add a custom action to the Microsoft Content Management Server (MCMS) 2002 Web Author console in order to allow users to sort the channels and postings within the channel. This sort ordering will determine the order that links are displayed in dynamic navigation unless the developer has overridden the default sort order. Out of the box, this feature is only available through the Sorting tab of a channel’s properties dialog in the Site Manager. The package contains: • The dialog used to sort items within a channel (including required client-side script). • The custom Web Author action used to trigger the dialog. New for v1.1: Bug fixes and improved UI indication for items the user doesn't have rights to.
Sharing MCMS Custom Placeholder Server Controls Guidelines by Arpan Shah
This document provides guidelines for sharing custom placeholder server controls.
Parity Keywords Custom Placeholder Control by Mike Trice
These controls allow you to define, via XML, a list of keywords. Authors select one or more from the list during edit mode and they are generated as metatags during presentation mode.
Kynetix UKIB Stock Ticker CMS Control by Ryan Kynetix
A control for use in a CMS2002 site that will take a author entered ticker symbol, retreive price information from a web service and then apply a XSLT to render that information as HTML.
UKIB Code Clean C# by lo2u
A C# Port of the Code Clean component. NOTE: Use level is beginner, Code level is intermediate to advanced.
Artemis Code Clean Custom Placeholder by N Lloyd
Custom CMS Placeholder to remove or replace alist of HTML tags. At design time specify the list of tags to be removed, or specify a replacement. e.g remove all font tags, replace all tags with . Also adds summary tags and column headings to HTML tables to comply with accessibility standards.
Snow Valley UKIB Affiliate Commerce Site Control by Gareth Rowlands
A control to allow authors on a CMS site to embed product information from a separate commerce site. Enables commerce site to make all or part of their catalog available via a web service. The author on the content site uses a CMS Placeholder to specify what kinds of product to display and how to display them. The Placeholder control renders its HTML using an XSL stylesheet.
Image Map Placeholder by D Brunning
Provides author with the ability to add images from the resource gallery and then add hotspots. Presentation mode displays image as a clickable image map.
Trinity Expert Systems - Image Rotater Placeholder by Martin Kearn
This is a plceholder written for CMS 2002 that rotates a selection of images chosen by the content author. This could be used for advertising banner etc.
cScape UKIB CMS Navigation Control by lo2u
THIS NEW VERSION ADDS SITEMAP. The control is also now available through the workspaces section. A drag and drop navigation control for microsoft content management server. Provides Primary/Secondary/Breadcrumb and highlight navigation, uses XSLT and has default internal XSL.
Windows Media Player Placeholder Control by Alistair Laing
A simple implementation of a windows media player placeholder control, using the embedded windows media 9 player.
ioko User Control Placeholder by Stef Shoffren
This was ioko Ltd entry for the UK Internet Business Partner Expert Community. It allows UserControls to be included and configured as content. Please refer to the readme file for instructions on use.
Multi-lingual Custom Placeholder by Mauler
This CMS2002 custom placeholder control is used to set the language of the display text as per the display selector setting. In edit mode, the author will enter the text for the available languages and in presentation mode, the language of the text displayed will depend upon the selection in the language selector combo box.
Image Management Placeholder by Dave Hunter
A custom MSCMS 2002 placeholder that allows the management of images and the ability to select an image for display.
|