Creating a new Content item
Choosing a Content Type
Content Types are divided into groups (by default, eZ Platform comes with Content Type groups Content, User and Media) according to their purpose.
Content Types from the User group are not intended to be placed on your pages. Instead, they play an administrative role.
A list of all Content Types you can choose is visible under Available content types. You can filter this list:
- Filter by group: you can filter the Content Types by selecting one or more groups that you are interested in. By default, the Content group is selected.
- Search as you type: You can enter the name of the Content Type you wish to search. As you type, a list of matching results will automatically appear.
Platform content menu
Entering information about new content
To see a description of the selected Content Type, hover the mouse over the New <Content type name> title.
A tooltip for every field in a Content Type is available when hovering the value field for a field type (if such a tooltip is defined in the Description field of that field in the definition of the Content Type in question.)
You can change the language of the new Content item by clicking Change in the upper right corner of the form. The code of the current language is also displayed there.
Editing Rich Text Fields
Rich Text Fields are filled using a special Online Editor whose options appear when you click the Field box.
You can add a new element to the Field by clicking the plus icon to the left of the box and choosing element type.
You have the following element types to choose from: Heading, Paragraph, List, Image and Embed.
For the Heading element you can select alignment (aligned left, center, right or justified). It also has a level (from Heading 1 to Heading 6).
The paragraph element also allows you to select alignment.
This element lets you insert an unordered list onto the page.
Select any part of a Heading, Paragraph or List element to access text formatting options, including an option to add a link:
An Embed element requires you to select a Content item to embed using the Universal Discovery Widget. You can also choose the alignment of the element:
This element lets you select an Image Content item using the Universal Discovery Widget and place it in the Field.
For each embedded image you can choose one of the predefined image variations from a drop-down list. These variations are typically used to display different image sizes. You can also choose the image's alignment:
Available image variations, including different sizing options and other filters that can be applied to images, can be configured for your installation at a developer level. See Image alias handling for a technical guide on how to do this.
You can delete any existing element in a Rich Text Field by selecting it and clicking the trash icon.
Click the Focus icon located to the right above the Rich Text box. This moves you to a special distraction-free editing mode, where only the current Field is visible. Exit this Focus mode by clicking Save and return in the upper right corner of the screen.
When working with the Online Editor you can make use of common keyboard shortcuts. Many of them will be familiar to you from popular editing software.
Enter – Starts a new paragraph.
Shift+Enter – Adds a line break.
Ctrl+Backspace, Ctrl+Del – Deletes a word.
Ctrl+B – Applies bold formatting to the selected text.
Ctrl+I – Applies italics formatting to the selected text.
Ctrl+U – Applies underline formatting to the selected text.
Tab – Indents a list item.
Shift+Tab – Reduces the indent of a list item.
Ctrl+Z – Undoes an operation.
Ctrl+Y, Shift+Ctrl+Z – Redoes an undo operation.
Ctrl+X, Shift+Del – Removes the selected text and copies it to clipboard.
Ctrl+C – Copies the selected text to clipboard.
Ctrl+V, Shift+Insert – Pastes the selected text from clipboard.
Home – Jumps to the beginning of the line.
Ctrl+Home – Jumps to the beginning of the document.
End – Jumps to the end of the line.
Ctrl+End – Jumps to the end of the document.
Ctrl+A – Selects the whole document.
Shift+Arrow – Selects a fragment of text letter-by-letter.
Ctrl+Shift+Arrow – Selects a fragment of text word-by-word.
Shift+Home – Selects a fragment of text from the cursor to the beginning of the line.
Shift+End – Selects a fragment of text from the cursor to the end of the line.
Ctrl+Shift+Home – Selects a fragment of text from the cursor to the beginning of the document.
Ctrl+Shift+End – Selects a fragment of text from the cursor to the end of the document.
Alt+F10 – Makes the options of the currently displayed toolbar active You can then move between them using arrow keys.
Space or Enter – Activates a toolbar button or menu option.
Esc – Exits Edit mode without saving.
Previewing the new content
At any time you can preview your content before publishing it. Click the relevant icon that represents desktop, tablet or mobile phone.
Saving and publishing