?
avatar friedrico
friedrico
23 Oct 2015

Steps to reproduce the issue

configuration.php contains the following two lines

public $sitename = 'MyJoomlaPage';
public $sitename_pagetitles = '2';

(the '2' seem to mean "domain name AFTER page title")

Article named "Home" as landing page

Expected result

Title of landing page "Home - MyJoomlaPage"

Actual result

Title of landing page "Home"

System information (as much as possible)

Joomla: 3.4.5
Templates (beez/prototype) don't matter

Additional comments

libraries/joomla/document/html/renderer/head.php:111

$buffer .= $tab . '<title> ' .htmlspecialchars($document->getTitle(), ENT_COMPAT, 'UTF-8') . '</title>' . $lnEnd;

Should the configuration option not take THERE effect?

avatar friedrico friedrico - open - 23 Oct 2015
avatar zero-24 zero-24 - change - 23 Oct 2015
Category Accessibility Libraries
avatar infograf768
infograf768 - comment - 24 Oct 2015

I can't reproduce this error. I do get here in the browser tab whatever saved in "Include Site Name in Page Titles"

avatar friedrico
friedrico - comment - 24 Oct 2015

So where is the configuration option rendered if not in libraries/joomla/document/html/renderer/head.php line 111?


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8134.

avatar bertmert
bertmert - comment - 24 Oct 2015

Normaly title is set in view.html.php of components

elseif ($app->get('sitename_pagetitles', 0) == 2)
{
 $title = JText::sprintf('JPAGETITLE', $title, $app->get('sitename'));
}
...
$this->document->setTitle($title);

head.php afterwards gets expanded title via $document->getTitle()

Check your plugins if somewhere title gets overriden e.g. by setTitle(...). Any extension, override and so on could do that.

avatar friedrico
friedrico - comment - 25 Oct 2015

You were right - Easy Frontend SEO was responsible for overwriting this setting


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8134.

avatar infograf768 infograf768 - change - 25 Oct 2015
Status New Closed
Closed_Date 0000-00-00 00:00:00 2015-10-25 15:35:10
Closed_By infograf768
avatar infograf768
infograf768 - comment - 25 Oct 2015
avatar joomla-cms-bot joomla-cms-bot - close - 25 Oct 2015
avatar infograf768
infograf768 - comment - 25 Oct 2015

Closing as not a joomla bug.


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8134.

Add a Comment

Login with GitHub to post a comment