Skip to content

How to change separator character in the title? #950

Discussion options

You must be logged in to vote

Thank you for the comments! Line 4 of header.html has this code: <title><?php echo $this->yellow->page->getHtml("titleHeader") ?></title> How can I only change the separator character here?

Should I just change it to something like this (" | " instead of " - ")?

<title><?php echo 
$titleHeader = ($this->location==$this->yellow->content->getHomeLocation($this->location)) ?
                $this->get("sitename") : $this->get("title")." | ".$this->get("sitename");
?></title>

It seems to be working alright.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@glow12121
Comment options

Answer selected by glow12121
Comment options

You must be logged in to vote
1 reply
@glow12121
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants