You can add both assets (shared content) and local content to pages. If you enter content on a page, you can change the content on the page.
When you add content to a page, you are actually adding the content to a widget in a region on the page.
To add content to a page:
- Open the page for edit
Create a new page (when you save it, it automatically opens for edit).
- If the page does not already contain the widget you want to fill with content, add the widget to it.
- Before you add content to the widget, make any changes to its default configuration properties. Configuration properties generally specify information regarding the appearance of a widget, such as whether an image is rendered in full size or as a thumbnail, or the maximum number of items that can appear in an autolist. You configure a widget when you place it on a page.
- Click the Content tab.
- Add content through the widget editor, or
- Drag and drop an asset on the widget to add content.
Dragging and Dropping Content on Pages
In most cases, after a widget is added to a page, you can add content to it by dragging and dropping an asset (shared content) from onto the widget. In general, widgets permit the corresponding asset types to be dropped on them. Some widgets do not include user-added content and you cannot drag and drop assets on them.
To drag and drop an asset onto a widget:
- Select Assets on , and locate the asset that you want to drop onto the widget.
- Drag the asset over the widget.
If the asset can be dropped on the widget, the widget becomes highlighted.
If the widget is locked, disabled, or cannot contain the asset type, the widget displays a no drop icon:
- Drop the asset onto the widget.
- If the widget accepts the asset, and the widget was empty, the widget now contains the asset and displays its content.
- If the widget accepts the asset, and the widget already contained other content:
- If the widget can only contain one asset, it replaces the original content with the new content.
- If the widget can contain more then one asset, it appends the asset's content to the existing content in the widget.
This topic discusses the basic behavior that occurs when you drag and drop assets. The behavior becomes more complicated when you begin adding and removing content from both a page and its associated template. For an explanation of the effects of each scenario, see How Template Content Affects Pages.
Adding Content through a Widget Editor
To add content through a widget editor:
- Click the edit button on the widget.
The widget editor opens. In most cases it has the same format as the graphic below and only creates local content, but in some cases it looks or behaves differently. For example, any widget that uploads a binary file, such as the Image Widget, creates an asset.
The following graphic shows the HTML widget editor. Some widget editors include a Meta-data section, which is collapsed when the widget editor opens. To edit the meta-data, you can expand the Meta-data header.
Widget types have different content fields.
- Some widgets, such as the Navigation Widget, do not have any content fields, and therefore, have a disabled button (however, they may have configuration properties that you can modify).
- On a page, a widget can contain content and have a lock icon on it. The lock icon indicates that the page inherited the widget and its content from the template. The content cannot be edited on the page.
- If you do not have permission to edit a widget, a dialog pops up and warns you when you attempt to edit it.
If the widget editor is not similar to the HTML widget editor shown on this page.
- Enter content in the content fields.
- If there is a Meta-data section, expand it to view and edit its fields.
- Click [Save].
If any of the data you have entered is invalid, a message describing the cause of the error appears on the dialog, and you must correct the error before you can save the content.
Typical widget editors, such as the Event widget editor, do not create assets, and CM1 saves the content in the widget on the page or template.
The Image, File, Flash File, and Form widget editors create assets. In this case, CM1 saves the content in the widget and creates an asset. The asset appears in the in a predefined path. For information on predefined asset paths in CM1, see the Assets section in the Finder topic.
The procedure above discusses the basic behavior that occurs when you add content to a widget editor. The scenarios become more complicated when you begin adding and removing content from both a page and its associated template. For an explanation of the effects of each scenario, see How Template Content Affects Pages.