Hi,
I have the title tag of the page is the same as the menu item.
It can be changed across custom.css, without changing the global joomla configuration parameter "Site Name In Page Titles"
The title of page
- Jan
- Phoca Hero
- Posts: 48550
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: The title of page
Hi, what do you mean with "changing custom.css"?
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 17
- Joined: 04 May 2011, 19:46
Re: The title of page
Hi,how do I change the title tag of a page?How can i do this?
- Jan
- Phoca Hero
- Posts: 48550
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: The title of page
Hi, you can do an override of Phoca Download view, e.g.:
components\com_phocadownload\views\category\tmpl\default.php
where you can change the title tag to your own.
Jan
components\com_phocadownload\views\category\tmpl\default.php
where you can change the title tag to your own.
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 17
- Joined: 04 May 2011, 19:46
Re: The title of page
Hi, I don't want to change the title tag. I want to get the title tag of the open page.
There is a <title> menu </title> but a <title> page </title>
There is a <title> menu </title> but a <title> page </title>
- Jan
- Phoca Hero
- Posts: 48550
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: The title of page
Hi, the title tag cannot be overriden by template override, it is set in view.html.php e.g. here:
components\com_phocadownload\views\category\view.html.php
in function _prepareDocument
But it can be differently displayed, depends on menu link parameters.
Jan
components\com_phocadownload\views\category\view.html.php
in function _prepareDocument
Code: Select all
$this->document->setTitle($title);
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 17
- Joined: 04 May 2011, 19:46
Re: The title of page
Hi, sorry, I don't know php well.
- Jan
- Phoca Hero
- Posts: 48550
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: The title of page
Hi, if the setting made by options does not fit your needs, unfortunately, there is no other way 
Jan

Jan
If you find Phoca extensions useful, please support the project