remove category title from browser title in item view

More
11 years 5 months ago - 11 years 5 months ago #44341 by hede
I have sh404sef installed to control link building and page titles.

In the sh404sef config I set "Show category in title" to "None". But the browser title still shows the category title in front of the article title when in article view.

Where do I specify that I dont want the category title to be included?

cheers

FF on Win10, FLEXIcontent version 3.0.10 on Joomla 3.4
Last edit: 11 years 5 months ago by hede.

Please Log in or Create an account to join the conversation.

More
11 years 5 months ago #44342 by ggppdk
Hello

i don't know why this parameter exists, i guess SH404SEF sets the title of the HTML document,

but so does the code of FLEXIcontent:
if you search forum , you will see that there is a similar question

Try setting the relevant (FLEXIcontent) parameter in the content type configuration, under "SEO" section of parameters

(do this for every content type)


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
11 years 5 months ago #44343 by hede
Thanks. In "Edit type" I set "Categories" to "Hide" but still no change in the browser title. Cache is off.

You can check here:
www.westernherbalmedicine.com/Western-He...atural-Approach.html

"Western Herbal Medicine" should not be part of the browser title.

cheers

FF on Win10, FLEXIcontent version 3.0.10 on Joomla 3.4

Please Log in or Create an account to join the conversation.

More
11 years 5 months ago #44344 by ggppdk
Hello

FLEXIcontent will try to set title, but a later call may set title

e.g. a system plugin may overwrite the value that was set by FLEXIcontent item view

-- to verify the title that is set by FLEXIcontent,, edit file:
components/com_flexicontent/views/item/view.html.php
Code:
// Check and prepend category title if($cid && $params->get('addcat_title', 1) && (count($parents)>0)) { $parentcat = end($parents); $doc_title = (isset($parentcat->title) ? $parentcat->title.' - ':"") .$params->get( 'page_title' ); } else { $doc_title = $params->get( 'page_title' ); }

add
Code:
echo "DOCUMENT title: ".$doc_title."<br/>";


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
11 years 5 months ago #44345 by hede
Thanks! Code is online. You can check (if you have time). Title is set by FC to dislpay the category:

Western Herbal Medicine - Hayfever A Natural Approach

What could I check next?

cheers

FF on Win10, FLEXIcontent version 3.0.10 on Joomla 3.4

Please Log in or Create an account to join the conversation.

More
11 years 5 months ago #44346 by ggppdk
Hello

no need to leave it there, after testing you remove it and just post here,

-- can you post picture of SEO parameters of Content Type?
also make sure that you save content type once


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.813 seconds
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Save