Project

General

Profile

Actions

Bug #17031

closed

Multi-language website title

Added by John Angel almost 18 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Content Rendering
Target version:
-
Start date:
2007-02-23
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.1
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Website title is currently fetched from template only, preventing multi-language website title.

If 'website title' field in template is not present, we can use root page title as website title, which provides full support for multi-language website title.

Patch:

t3lib/t3lib_tstemplate.php:1209

AFTER:

$st = trim($this->setup['sitetitle']) ? $this->setup['sitetitle']:'';

INSERT CODE:

if(empty($st) && $this->rootId) {
$root_page = $GLOBALS['TSFE']->sys_page->getPage_noCheck($this->rootId);
if(sizeof($root_page)) {
$st = trim($root_page['title']);
}
}

This should be fixed for ver 4.1.

(issue imported from #M5057)


Files

5057.patch (728 Bytes) 5057.patch Administrator Admin, 2007-06-25 19:34
Actions

Also available in: Atom PDF