Browser page title in Joomla 3.3.4

I have the following problem with Joomla! 3.3.4: after entering text in the title window of the browser page in the article parameters, the title does not change. Only the global sitename is displayed at this location. In older Joomla everything works correctly.

+3


source to share


3 answers


To change the field title, you need to edit the parameters of the menu item. When you get to the detailed view of the menu item in question, go to the Page Display tab . The first field is Browser Page Title , enter the title you want to display and save.



This should sort it out with you ...

+3


source


Try to go to the default template and if it works, there is something wrong with your template.

To set the title of the browser, you can use the setTitle () method.

<?php
  $this->setTitle( $title );
?>

      

You can check using setTitle: Joomla Docs .

If you want to set the title in your article template, you can add the following:



/templates/*template_name/html/article/default.php

      

An example of code that could set the title of the article in the title of the browser would be as follows:

<?php
      $this->setTitle( $this->item->title );
?>

      

Hope it helps

0


source


Go to Global Configuration

Site

Include Site Name in Page Titles

and set it to Before

or After

. Of course, you must also install Site Name

.

Image for explanation

0


source







All Articles