close

Filter

loading table of contents...

Frontend Developer Manual / Version 2307

Table Of Contents

5.6 Importing Themes into the Repository

CoreMedia supports different ways to import Themes into the content repository. You can use the command line tools, CoreMedia Studio, or a pnpm command, described in the following sections. For a description how to use the command line tools, see Section 5.4.24, “Theme Importer” in Blueprint Developer Manual .

Using pnpm

Running pnpm deploy inside a theme folder builds the theme and uploads it to the /Themes folder in the content repository. You need a valid API key, otherwise you need to login like in the web developer workflow. You also need write access to the /Themes folder.

Using Studio

To import a previously built theme (run pnpm build) into the content repository use the upload feature of the Studio Library. Go to the Themes directory, click on the upload icon in the toolbar of the Studio Library and select the Zip file of the theme you want to import.

Note

Note

Make sure that you selected the Themes directory as target path in the upload dialog. Otherwise, you won't be able to select the theme as the associated theme.

File Upload in Studio

Figure 5.1. File Upload in Studio


Afterwards, select the imported theme as the associated theme for the page content of your site.

Associated Theme

Figure 5.2. Associated Theme


Publishing the Content

Just like every other content, web resources imported to the Content Server need to be published in order to let the changes affect the live CAE. See the Studio User Manual for details about publishing content.

Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.