How can I display different page title formats for particular documents?

HelenaG Grulichova asked on August 27, 2012 04:49

How can I display different page title formats for particular documents?

Correct Answer

HelenaG Grulichova answered on August 27, 2012 04:49

If you want to configure the page title, you have a choice of the following methods:

A:  Go to the CMS Desk and select the document in the content tree. Now open Properties -> Metadata and set the document page title in the Page title field.

B: The page title format will be generated according to the configuration in Site Manager – Settings - <your site> - Content  - Page title format. If, for example, you would like to check if the document has a unique page title and, if so, to display only this title, you can use the following macro:

{%(documentpagetitle=="")?prefix +"-"+pagetitle_orelse_name:documentpagetitle%}

This will display a default value if the Page title in the Metadata section is empty. Otherwise it displays the page title from the Metadada section.

-it-
0 votesVote for this answer Unmark Correct answer

   Please, sign in to be able to submit a new answer.