Updating Page Content

In addition to managing containers and container rules in Administration Mode, you can also update the body content of pages.

Note

Currently this functionality applies only to the content areas of pages. In the future this may be extended to include other content (such as calendar event data).

An editable area is indicated similarly to containers, except they use a brown background with an icon of the Recite CMS logo. Clicking Edit opens the WYSIWYG editor.

Figure 13.7. Editing content via the WYSIWYG in Administration Mode

Editing content via the WYSIWYG in Administration Mode

Make any changes required then click Save. The content area will be updated to reflect any changes you have made.

For further details on using the Recite CMS WYSIWYG Editor, refer to WYSIWYG Editor Guide.

Defining Editable Areas

Similar to defining the location of containers on your pages, you must also define the location of content blocks on your pages. This is achieved when creating your page template by using the {contentblock} plug-in.

This plug-in takes a single argument called name. For example, to create a content block called default, the following code would be used in your page template.

Example 13.3. Adding a content block to a page

{contentblock name='default'}

This serves two purposes: displaying editable content areas when in Administration Mode, and allowing you to edit content via the Content tab when managing pages in the Control Panel.