Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
Maybe not as draconian as my post, but still very effective and offers more control.
You would need to do this to each theme for which you want this change. It won't disturb any others. And it won't disappear when you upgrade.
PS Just in case anyone reading this doesn't know – page.tpl.php lives in any theme directory eg. sites/example.com/themes/garland/
PPS Other characters you might like are • · ⋅ • · ⋅
Comments
Use a text editor ;-)
file: themes/engines/phptemplate/phptemplate.engine
line: 206
not very effective, compared to previous :-)
but does not touch core files:
file: page.tpl.php
instead of traditional:
<title><?php print $head_title ?></title>put this:
<title><?php print str_replace("|","-",$head_title);?></title>Much better solution from
Much better solution from emzi.
Maybe not as draconian as my post, but still very effective and offers more control.
You would need to do this to each theme for which you want this change. It won't disturb any others. And it won't disappear when you upgrade.
PS Just in case anyone reading this doesn't know – page.tpl.php lives in any theme directory eg. sites/example.com/themes/garland/
PPS Other characters you might like are • · ⋅
• · ⋅thank you very much!
thank you very much!