Setting of Title tag (Browser Page Title)

Phoca Download - download manager
plamen
Phoca Professional
Phoca Professional
Posts: 101
Joined: 16 Mar 2014, 13:23

Setting of Title tag (Browser Page Title)

Post by plamen »

I have a menu item "List of Files (Category View)"
Category: Foo
In "Menus: Edit Item / Page Display":
Browser Page Title: Bar

Site Name: My_site_name
Site Name in Page Titles: After

Finally, I have a title tag in the form:

Code: Select all

<title>Bar - Foo - My_site_name</title>
How can I exclude "Foo" from the Title tag?
PD is always adding 'category name' to the Title tag.

EDIT:
If I left 'Browser Page Title' empty, I get:

Code: Select all

<title>Foo - Foo - My_site_name</title>
which duplication I want to avoid also, title tag should read:

Code: Select all

<title>Foo - My_site_name</title>
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48536
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Setting of Title tag (Browser Page Title)

Post by Jan »

Hi, the way is just to customize it directly in the code:

components/com_phocadownload/views/category/view.html.php

function _prepareDocument

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