Page Title Customization

Permalink 2 users found helpful
Hi, I'm hoping this is an easy answer. I want to customize the display of the <title> tag to get rid of the :: thing. I see that this is pulling from /concrete/elements/header_required.php

I made the change in there and it worked fine, but my understanding of concrete is that you aren't supposed to touch the /concrete directory, so that doesn't seem like the right solution. Is there a way to duplicate 'header_required.php' into the /elements or /theme/mytheme directory and get the theme to pull that instead?

fryedesign
 
Remo replied on at Permalink Reply
Remo
fryedesign replied on at Permalink Reply
fryedesign
Thanks Remo, that answered the question. Hopefully this change gets in a future build. Concrete5 is shaping up to be a pretty decent platform for SEO, but complete control over page titles would be really helpful in that regard.
fryedesign replied on at Permalink Reply
fryedesign
Beyond what you can do with the Meta Title conditional
andrew replied on at Permalink Reply
andrew
I remember that thread. :-)

So it sounds like what is desired is not only the ability to be able to override the title on a page-by-page basis, which you can do, but the ability to override the way the global title works. e.g. somewhere in the dashboard you'd be able to setup

%SITE - %PAGE

or

%PAGE on %SITE

as your global format for page titles.
fryedesign replied on at Permalink Reply
fryedesign
That's what I was getting at.
BrianJM replied on at Permalink Reply
Can you (or someone) please explain how you removed the "::" from the site title? I have looked at /elements/header_required.php (I have a custom version in use), but I do not fully understand how the "::" is placed in the site title.

If someone could point me in the right direction it would be a great help.

Thanks!
c5mix replied on at Permalink Reply
BrianJM replied on at Permalink Reply
That's perfect... thank you!
wawamm replied on at Permalink Reply
I get a blanc page everywhere on my website when i do this.
RobertJNL replied on at Permalink Reply
RobertJNL
change the '', they're incorrect after using copy/paste.