Content can be contributed in different ways but it all winds up in the content repository. Since all content is stored in the same place, it can all be found, used repeatedly and shared throughout one or multiple sites across many pages. Although there are ways that content can be contributed from a front-end form, the primary ways content is added are via the Content Tab and by editing pages.
Adding Content from the Content Tab
- Once you have logged into dotCMS back-end, click on the Content tab.
- From the Content tab select the desired type of content that you wish to contribute from the Type drop down list of content types.
- Click the "+Add New Content" button.
- Fill out each required field (marked with an orange asterisk), and click on the Save (draft), or Save/Publish to save a live version of the content on your site. In the tutorial, we've selected a fairly generic content type called Web Page Content which has a Title and a Body field.
Adding Content from a page
- Click on the Site Browser tab and find the folder where the page resides that you want to add content to
- In the detail area of the Site Browser, double-click the name of the page to open it in Edit Mode
- Click on the "+Add Content" button over the section of the page you would like to add content to
- Click "New Content" from the drop down list
- Fill out the required fields (marked with orange asterisk), and "Save" (draft), or "Save/Publish" to add a live piece of content that is immediately visible to the public (provided that it has the proper Permissions)
Re-using Content on a Page
If you wish to place an existing piece of content on a page(s):
- Open the page in Edit Mode
- Click the "+Add Content" button above the section of the page where you wish to add the existing piece of content
- Click on "Reuse Content"
- Type keywords into the search fields provided by the search window to find the desired piece of content
- Click the "Select" button to the left of the content title to add the piece of content to your page