-
Book Overview & Buying
-
Table Of Contents
Building Websites with Microsoft Content Management Server
We are going to show you a secret feature of MCMS that provides an even faster way to prototype custom placeholder controls. The secret is—PresentationTemplates.
Well, it is not quite a secret. The feature was built into the product towards the end of the development cycle. As a result, the documentation team was not able to write much about it before the product shipped, so very little is known about it until now. With PresentationTemplates, you can determine the way content is displayed in presentation mode. Let's look at how you could use PresentationTemplates for the SingleAttachmentPlaceholderControl.
PresentationTemplates can only be used with the SingleAttachmentPlaceholderControl and the SingleImagePlaceholderControl.
For example, you may need to customize the SingleAttachmentPlaceholderControl to display Flash content. Flash is a common format used by web designers to display high-impact animation. An author who uploads a Flash file expects the animation...
Change the font size
Change margin width
Change background colour