Brian
Brian

Reputation: 340

How to change Default Page Title Field in Kentico

In the Page Type area, the "Page name source field" is set to ProjectCode, which I want. However, my page titles seem to be set up as "'Page name source field' | Website Name", which I do not want.

Is there a way to change the page title structure for that page type so it pulls from a different field on the page type?

Screenshot of page's fields

Upvotes: 1

Views: 672

Answers (2)

mnield
mnield

Reputation: 1869

In this instance, this is managed in the Settings of the site rather than at a page level.

Navigate to Settings > Content in the Settings application. Then, under the Metadata section, you will find a setting called Page title format.

You can either remove {%prefix%} -, or set a more desirable value in the Page title prefix setting.

Page title format setting

In addition, you can change the value for the Page title in the Metadata tab for the document and make it use a macro, such as {% CurrentDocument["ProjectID"] #%}. Also, looking at your notes, you could change your page type so that the Project ID is treated as the document title maybe?

Upvotes: 1

Zach Perry
Zach Perry

Reputation: 756

Settings > Content has the Page Title format.

{%pagetitle_orelse_name%} will pull the name of the document or the set page title on the metadata tab of the page.

Upvotes: 0

Related Questions