Jump to content

Where is the code that makes titles "{page} - {site name}"


DChiuch

Recommended Posts

Posted

Does anyone know where the code that makes page titles "{page} - {site name}" is? Is it a PHP function somewhere or is there a language string? I would like to change the "-" to another symbol.

Posted

\IPS\Output::buildMetaTags()

		/* Add the site name to the title */
		if( \IPS\Settings::i()->board_name )
		{
			$this->title .= ' - ' . \IPS\Settings::i()->board_name;
		}

Any other dashes would be set in userland code elsewhere. Your best option, perhaps, would be to do a replacement on the character somewhere central just before it is output (i.e. at the end of this method).

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...