Create and edit Content items¶
Create Content items¶
Start creating a new Content item in one of the following ways:
In the left panel, go to Content -> Content structure. Then select a parent Content item and click Create content.
The new Content item becomes a child of the Content item that you originally selected.
In a slide-out pane, make initial choices in the following fields, and click Create:
- Select a language - from a drop-down list, select the base language for the Content item.
- Select a Content Type - use this field to narrow down the list of choices displayed below. Then select a Content Type to serve as a template for the Content item.
Fill in the Fields of the Content item.
Click Preview to see how the Content item could look to an end-user. !!! tip
A Content item can look different on different [SiteAccesses](translate_content.md#siteaccess). You can select a SiteAccess to preview by using a drop-down in the preview screen.
To discard your changes and close the window, click Delete draft.
To save your changes:
- Click Save to continue editing.
- Click Save and close to close the window.
To send your changes to another editor for review, click Send to review.
When the Content item is ready for publication:
- Click Publish to publish it immediately.
- Click Publish later to set a specific publication date.
For more information, see Publish content.
Versioning and autosave
Whenever you edit a Content item, a new version is created in the repository.
To help you preserve your work, Ibexa DXP saves drafts of Content items automatically. For more information, see Autosave.
Upload multiple Content items¶
When you view the Content item details in the Content Tree, you can upload files such as images, videos, PDF documents, and so on. This way you can add multiple sub-items without editing the original Content item. To do it, on the Content item details screen, in the Sub-items tab, click Upload and choose all items that you want to upload. When a file is uploaded with multi-file upload, it is automatically stored in a Field of the Content item.
The Content Type for the uploaded files is selected automatically by the system.
Edit new or existing Content items¶
Each Content item is based on a Content Type. The Content Type defines what Fields you have to fill in when creating a new item. It may also determine the layout or style in which this item is displayed.
Fields marked with an asterisk (*) are required. You can't save the Content item without filling them in.
Some Fields, such as Relation Fields (which link two Content items) or Image Fields require you to select a different Content item to link to. A Location Field is a point on the map. You can type the place name, enter its coordinates, or select it on the map.
When you create or edit a Content item that contains an Image or an Image asset Field, you can perform basic image editing functions by using an Image Editor.
Edit Rich Text Fields¶
Rich Text Fields are filled in using a special Online Editor. Its options appear when you click the Field box.
To add a new element to the Field, choose one of the available elements:
- Unordered list
- Ordered list
Each of these elements can have its own settings, such as text formatting. The option bar also lets you reorder or remove any elements in the Rich Text Field.
Edit embedded Content items¶
You can edit embedded Content items without leaving current window.
To do it, first insert selected Content item in the Rich Text Field. Then, click the three dots icon on the right side and click Edit.
If the Content item has more than one translation available, you need to select the language.
This action opens a new browser tab with an editing screen of the selected Content item. When you finish editing the item, click Publish. To see implemented changes refresh the browser page.
This option is also available when you want to set up a relation with another Content item.
Distraction free mode¶
While editing Rich Text Fields, you can switch to distraction free mode.
Distraction free mode expands the workspace to full screen and shows only editor toolbar. It's helpful when you need to work with longer texts that take more space and when you want to focus your attention on editing text.
To access distraction free mode, click Distraction free mode on the right side above the workspace.
To exit distraction free mode, click Exit distraction free mode or press Esc on the keyboard.
For longer texts, insert an anchor linking a fragment of text with another fragment or section to quickly jump through sections of an article. Create an anchor by clicking in the area to link to and selecting the anchor icon from the editor menu. In the modal window, provide the name for the anchor. Scroll to the fragment where you want to insert the link, and select the text to appear as a link. In the modal window, click the Link button. This opens the window to create the link. In the Link to box, enter the anchor name. Click Save.
In image options you can select an image variation. Variations can include different sizing options and other filters that are applied to images. Available image variations must be configured at the developer level. See Images for a technical guide on how to do this.
In table options you can define the first row and/or column as headers, add or delete rows and columns in any part of the table, as well as merge and split cells.
Your installation can also have custom elements available in the Rich Text field. Contact your website administrator about the details of using them.
This custom tag is in an opt-in bundle, to use it, install
ibexa/connector-seenthis bundle first.
Use SeenThis! tag to enable displaying of video with maximum quality regardless of connection and server integration.
For more information, see SeenThis! page block documentation.
When you select a section of text, you get access to text formatting options such as bold or underline. Here you can also add a link to the text. You can link to an external website, or to another Content item.
Add taxonomy entries¶
To keep your content organized and easy to find, you can add taxonomy entries to a Content item while creating or editing it. For this feature to work as described, the Content Type must have a Metadata section, with a Taxonomy Entry field in it.
- Switch to the Meta tab.
- Click the Select path button.
- In the pop-up window, select the tags you want to add.
For more information, see Assign tag to content from taxonomy tree.