Page 1 of 1

The title of page

Posted: 30 Sep 2020, 20:17
by philip
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"

Re: The title of page

Posted: 01 Oct 2020, 16:31
by Jan
Hi, what do you mean with "changing custom.css"?

Jan

Re: The title of page

Posted: 03 Oct 2020, 17:58
by philip
Hi,how do I change the title tag of a page?How can i do this?

Re: The title of page

Posted: 05 Oct 2020, 13:27
by Jan
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

Re: The title of page

Posted: 07 Oct 2020, 19:05
by philip
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>

Re: The title of page

Posted: 11 Oct 2020, 21:13
by Jan
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

Code: Select all

$this->document->setTitle($title);
But it can be differently displayed, depends on menu link parameters.

Jan

Re: The title of page

Posted: 12 Oct 2020, 21:21
by philip
Hi, sorry, I don't know php well.

Re: The title of page

Posted: 13 Oct 2020, 15:43
by Jan
Hi, if the setting made by options does not fit your needs, unfortunately, there is no other way :-(

Jan