Please note: you can find an example of datalist/repeater nesting in CMSRepeater chapter.
When writing a custom transformation for the Lightbox web part, it is necessary to use the 'rel' and 'rev' parameters as highlighted in the transformation code below. The 'title' parameter is used to determine the description of the image displayed in the lightbox.
If you would like to use multiple lightboxes on a single page it is necessary to set 'Group name' property for each and every lightbox webpart.
You can modify the design using standard CSS styles, skin file, or by modifying the CMSWebParts\MessageBoards\MessageBoardUnsubscription.ascx file.
The search expression is passed to the web part through the SearchForum URL parameter - e.g.: .../forums.aspx?SearchForum=help. The forums are automatically hidden on the given page in case this parameter is passed in the URL.
Transformations and available fieldsYou can use the CMS.Root.GeneralProductPreview and CMS.Root.GeneralProductDetail transformations as example of how to create transformations for this web part. You can use all fields of the COM_SKU table.
CSS classes and design: the design depends only on the specified transformation and on the CSS classes used by the .CMSSearchDialog, CMSSearchResults controls.
timeFormat
<cc1:CMSDataGrid Runat="server"> <HeaderStyle Font-Bold="True" ForeColor="White" BackColor="orange"></HeaderStyle> <FooterStyle ForeColor="Black" BackColor="#CCCCCC"></FooterStyle> <ItemStyle ForeColor="Black" BackColor="#EEEEEE"></ItemStyle> <AlternatingItemStyle BackColor="#DCDCDC"></AlternatingItemStyle> <PagerStyle HorizontalAlign="Center" ForeColor="Black" BackColor="#999999" Mode="NumericPages"/></cc1:CMSDataGrid>
You can find more details on available formatting settings in the documentation of the standard ASP.NET Calendar control.
You need to define the set of documents from which you want to choose the random document by setting the Path property to e.g. /Products/% and setting the Document type property e.g. to cms.product. The document will be displayed using the transformation specified in the Transformation name value - e.g. cms.product.preview.
CSS classes and design: please see CMSTabControl for more details.
You can modify the design using standard CSS styles, skin file, or by modifying the CMSWebParts\Newsletters\NewsletterSubscription.ascx file.
You can modify the design using standard CSS styles, skin file, or by modifying the CMSWebParts\Polls\Poll.ascx file.The styles are described in more detail in Developer's Guide -> Modules - Polls -> Design and styles.
<cc1:CMSDataGrid Runat="server"> <HeaderStyle Font-Bold="True" ForeColor="White" BackColor="orange"></HeaderStyle> <FooterStyle ForeColor="Black" BackColor="#CCCCCC"></FooterStyle> <ItemStyle ForeColor="Black" BackColor="#EEEEEE"></ItemStyle> <AlternatingItemStyle BackColor="#DCDCDC"></AlternatingItemStyle> <PagerStyle HorizontalAlign="Center" ForeColor="Black" BackColor="#999999" Mode="NumericPages"/>
</cc1:CMSDataGrid>