dotCMS - Open Source Content Management System, Ondemand CMS, and Professional Support

Document Search

Article Information

Since Version: 1.6.5
Tags: Reusing Content on an HTML Page
Updated: 9/2/2008 3:50:56 PM
By: Dean Gonzalez
Doc id: 150778
Print Page: Export to PDF

Reusing Content on an HTML Page

To reuse content on an HTML page you need to have already created an HTML Page and have it opened.  If you do not have a pre-existing HTML page, but would like to create one, please see the Adding an HTML Page section of our documentation.

Reuse Content on an HTML Page

Reusing Content: Click on the "+Add Content" button and a drop down menu will be displayed.  Select "Reuse Content" from the drop down menu, and search for the content you are looking for by keyword(s) as in the example below.

SearchContentReuse
Publish Page Button

HTML page content and the HTML Page itself are stored/published separately*.  Only a published version of the reused content will be visible in Live Mode or on the "live" page.  Reused content that has only been saved (working copy), but has not been published, will not be visible on the live webpage until the page and the content have both been published.

Use the "Publish Page" button available to you (in Edit Mode only), to force the addition of the reused content to publish "live" on your page. If the reused content has not been published, you will be brought to a page that asks you to publish the related content as in the image below.

Publish Related Assets

If you choose not to publish the page, the addition of your reused content will be seen only while in Edit mode on the HTML page but will not be viewable in Live Mode or on the live site. After you have published your webpage, click on Live Mode to verify that the new content is now publicly viewable. If you do not see the new content in Live mode after publishing your page, then your content is probably missing the CMS anonymous permission. For more information, please see the documentation on Content Permissions.

*After webpages have been published once with the addition of new or reused content, then any future published changes to that content will automatically reflect "live" on those webpages without having to re-visit the HTML page(s).



Post a Comment


Add Comments

   

 
Post