How to Override Site Title Tags via FLEXIcontent

More
3 years 4 months ago #80492 by iamrobert
Most Joomla site titles are:

Article Title | Company Name

I wanted to have the option of whatever I typed:

Article Title

I decided to override the Custom <title> tag to do this (you could use a template display field as well):


In my FLEXIcontent item template I added:
Code:
$getBrowserTitle = '';    $getBrowserTitle = $this->params->get('custom_ititle'); $GLOBALS['getBrowserTitle'] = $getBrowserTitle;


In my site template index.php I added (just above the)
Code:
<?php      if ( isset( $GLOBALS['getBrowserTitle'] ) ) {     $this->setTitle($GLOBALS['getBrowserTitle']); }    ?> <jdoc:include type="head" />

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

More
3 years 4 months ago #80493 by micker
thanks for tutorial
can i add (or you can add it via top menu) in tutorial section ?

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

More
3 years 4 months ago #80494 by iamrobert
Sure - Micker - go ahead.

Also, I tried to add via the tutorial menu - but crucial buttons to add a tutorial seems to be missing - image link, add code.

Plus the formatting seems to be all bold:


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

More
3 years 4 months ago #80495 by micker
ah i add it in editor thanks

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.569 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