Creating Web publisher layouts
- On the Home - Layouts ribbon, click Web Publisher
- 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
- When satisfied with your design, save the layout by clicking OK.
Content Manager will save it to the list of Web publisher layouts.
- Select the Fields tab to select the fields for your layout.
See Fields tab.
- Select the Links tab to select the links for your layout.
See Links tab.
- Select the Metadata tab.
See Metadata tab.
- 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\
- The index page is in the folder C:\net\webpages\.