Content Manager 25.1 Content Manager

# Creating Web publisher layouts

1. On the Home - Layouts ribbon, click Web Publisher
2. Right-click and click New Web Publisher Layout.

   The Web Publisher Layout - New dialogue box appears.

   Content Manager will always use a default template.

   Enter the following details:

   - Name - the name for your Web publisher layout
   - Extension - the extension type for the layout.

     The extension types are:

     - ASP
     - HTM
     - HTML
     - PHP
     - SHTML
     - TXT
     - XML
   - Edit Source - to edit the HTML source code
   - Show Preview - shows what the layout will look like
   - Import - to import a Web publisher layout

     NOTE: The information about a Web template's object type is stored in the database.

     When you export a template, Content Manager adds a comment with the object type to the exported file.

     When Content Manager imports it, it reads this comment, makes the necessary changes and strips the comment.

     The comment - for example, <!-- CM objectType= '19'--> - will not affect HTML viewers as it is a HTML comment. The number is the ID of the object type.

   - Export - to export a Web publisher layout.
   - Reset - click to reset the template to its default
3. When satisfied with your design, save the layout by clicking OK.

   Content Manager will save it to the list of Web publisher layouts.

4. Select the Fields tab to select the fields for your layout.

   See Fields tab.

5. Select the Links tab to select the links for your layout.

   See Links tab.

6. Select the Metadata tab.

   See Metadata tab.

7. Once you have set up all the details for the layout, click OK to save the new Web publisher layout.

   When you publish a Web page, it creates a particular directory structure, for example, if your path was C:\net\webpages\:

   - The index page is in the folder C:\net\webpages\.

     This file will have the name you entered when publishing the data. This file links to the record HTML files.

   - The detail pages are in the folder C:\net\webpages\records\.

     These are the HTML files for the records you selected to publish.

   - Published copies of electronic documents from the Content Manager dataset are in the folder C:\net\webpages\docs\

Related information

Copyright 2008-2025 Open Text
Version 25.1 | Last updated January 2025
Contact

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to hprmdocumentation@microfocus.com.

We appreciate your feedback!

Product: Content Manager 25.1

Topic Title: Creating Web publisher layouts