Check if custom title uses?

More
7 years 6 months ago - 7 years 6 months ago #67748 by lipatovroman

ggppdk wrote: Hello

These parameters work correctly !
- but you may not have enough space to show the custom title

Explanation:
if you have enabled prepending any or both of the following
- category name (in Type form or in Item form)
- site name (in .... Joomla Global configuration )


Thus you may get a custom title like this
Site name - Category name - Custom title

Resulting in a partial display like:
Site name - Categ ...

Now about the custom code that i gave you above,
i wrote a parameter name wrongly
i corrected it above, you may retry


You didn't understand me, I think...

Now I use your native template and native settings.

When I don't using Custom <‌title‌>, title = item title + category title.

When I using Custom <‌title‌>, title still = item title + category title.

Option does not work...



Last edit: 7 years 6 months ago by lipatovroman.

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

More
7 years 6 months ago - 7 years 6 months ago #67749 by ggppdk
Replied by ggppdk on topic Check if custom title uses?
Hello

yes i mean exactly what you show in pictures
i tested exactly that

I used backend item form to add custom title "hello"

and i get:
Code:
<title>Joomla 3.6+ DEV Site - hello</title>

You need 2 things
Besides the custom title text
Also enable parameter "Override Title"


-- 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...
Last edit: 7 years 6 months ago by ggppdk.

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

More
7 years 6 months ago #67750 by lipatovroman





Does not work, sorry...

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

More
7 years 6 months ago #67751 by ggppdk
Replied by ggppdk on topic Check if custom title uses?
Hello

yes , exactly as you say:
Code:
<meta name="title" content="..." />

is not changed

only this is effected:
Code:
<title>Joomla 3.6+ DEV Site - hello</title>


-- 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
7 years 6 months ago #67752 by lipatovroman
But I not use now any "<meta name="title" content="..." />"

Just you native template.

No any changes.

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

More
7 years 6 months ago - 7 years 6 months ago #67753 by ggppdk
Replied by ggppdk on topic Check if custom title uses?
Hello

these are 2 different things

See code below
Code:
$document = JFactory::getDocument(); // *** // *** Set TAG: <title>...</title> // *** $doc_title = 'some text'; $document->setTitle($doc_title); // *** // *** Set TAG: <meta name="title" content="..." /> // *** $meta_title = 'other text'; $document->setMetaData('title', $meta);


-- 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...
Last edit: 7 years 6 months ago by ggppdk.

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.694 seconds
Save
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