C57 Title format

Permalink
How do we set the title format in C5.7? Before we put this in the config.php and from then on it affected all new and all existing pages:

define('PAGE_TITLE_FORMAT', '%2$s - %1$s');

How does this work in the new version?

A3020
View Replies: View Best Answer
andrew replied on at Permalink Best Answer Reply
andrew
In your application/config directory, create a file named "concrete.php"

In this file, add this:

<?php
return array(
    'seo' => array(
        'title_format'         => '%1$s - %2$s',
    )
);


Where the placeholders are the site and the page title, respectively.
A3020 replied on at Permalink Reply
A3020
Thanks Andrew, this works nicely!