[英]TYPO3 and RealUrl don't use translated page titles in url
I use TYPO3 7.1 and RealUrl 1.13.3. 我使用TYPO3 7.1和RealUrl 1.13.3。 Auto configuration is not using the page title from translated pages and it is not changing ?L=1 to fx /en/
自动配置未使用已翻译页面的页面标题,并且未将?L = 1更改为fx / en /
It is just using the default Danish page titles and adding ?L=1 to English pages and ?L=2 to German pages. 它只是使用默认的丹麦语页面标题,并在英语页面上添加?L = 1,在德语页面上添加?L = 2。
The content is shown in the right languages. 内容以正确的语言显示。
What could be the problem? 可能是什么问题呢?
First switch to manual config, then add config for L
param in preVars
section according to your languages like described in doc 首先切换到手动配置,然后根据您的语言( 如文档中所述)在
preVars
部分中为L
参数添加配置
array(
'GETvar' => 'L',
'valueMap' => array(
'dk' => '1',
'en' => '2',
// etc...
),
'noMatch' => 'bypass',
),
also add the languageGetVar
(also described in doc ) param to pagePath
section 还将
languageGetVar
(也在doc中描述 )参数添加到pagePath
部分
'pagePath' => array(
'type' => 'user',
'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
'rootpage_id' => 1,
'languageGetVar' => 'L', // <- here
),
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.