[TYPO3-german] Mehrsprachigkeit und RealURL
Nicolas Wendisch
wendisch at hucke.net
Mon Feb 27 15:03:23 CET 2006
Einen wunderschönen!
Ich habe folgendes Problem: Typo3 3.8.0 + realURL 1.0.0 und eine
Mehrsprachige Webseite nach dem One-Tree-Konzeptept.
Aber irgendwie funktioniert die Aufschlüsselung der Links gar nicht. Folgend
nun ist hier der Quellcode, welcher von mir verwendet wird:
Der Code der htaccess:
RewriteEngine on
RewriteBase /
RewriteRule ^$ - [L]
RewriteRule ^/.*$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule .* index.php
Der Code der localconf
1. $TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
2. 'init' => array(
3.
4. 'appendMissingSlash' => 'file',
5. 'emptyUrlReturnValue' => '/',
6. 'enableCHashCache' => 1,
7. 'enableUrlDecodeCache' => 1,
8. 'enableUrlEncodeCache' => 0,
9. ),
10. 'pagePath' => array(
11. 'type' => 'user',
12. 'userFunc' =>
'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
13. 'spaceCharacter' => '-',
14. 'segTitleFieldList' =>
'tx_realurl_pathsegment,nav_title,title',
15. 'languageGetVar' => 'L',
16. 'expireDays' => 1,
17. 'rootpage_id' => '8',
18. 'disablePathCache' => 1,
19.
20. ),
21. 'preVars' => array(
22. array(
23. 'GETvar' => 'no_cache',
24. 'valueMap' => array(
25. 'no_cache' => 1,
26. ),
27. 'noMatch' => 'bypass',
28. ),
29. array(
30. 'GETvar' => 'L',
31. 'valueMap' => array(
32. 'de' => '0',
33. 'german' => '0',
34. 'en' => '2',
35. 'english' => '2',
36. 'fr' => '3',
37. 'french' => '3',
38. 'it' => '4',
39. 'italian' => '4',
40. ),
41. 'noMatch' => 'bypass',
42. ),
43. ),
44. 'fileName' => array (
45. 'index' => array(
46. 'backend.php' => array(
47. 'keyValues' => array (
48. 'type' => 100,
49. )
50. ),
51. 'print' => array(
52. 'keyValues' => array(
53. 'type' => 98,
54. )
55. ),
56. ),
57. ),
58. 'postVarSets' => array(
59. '_DEFAULT' => array (
60. 'article' => array(
61. array(
62. 'GETvar' => 'tx_ttnews[tt_news]',
63. ),
64. array(
65. 'GETvar' => 'tx_ttnews[backPid]',
66. ),
67. ),
68. 'category' => array(
69. array(
70. 'GETvar' => 'tx_ttnews[cat]',
71. ),
72. ),
73. 'neste' => array(
74. array(
75. 'GETvar' => 'tx_ttnews[pointer]',
76. ),
77. ),
78. ),
79. ),
80.
81. );
TS:
1. #realurl:
2. config.
<http://www.typo3.net/tsref/setup/config/index.html#simulatestaticdocuments>
simulateStaticDocuments = PATH_INFO
3. config.
<http://www.typo3.net/tsref/setup/config/index.html#simulatestaticdocuments>
simulateStaticDocuments = 0
4. config. <http://www.typo3.net/tsref/setup/config/index.html#baseurl>
baseURL = http://www.domain.de
5. config.
<http://www.typo3.net/tsref/setup/config/index.html#tx_realurl_enable>
tx_realurl_enable = 1
6. #config.absRefPrefix =http://www.domain.de
7. #config.absRefPrefix = /
8.
9.
10. #config.linkVars = L
11. config.
<http://www.typo3.net/tsref/setup/config/index.html#sys_language_uid>
sys_language_uid = 0
12. config.
<http://www.typo3.net/tsref/setup/config/index.html#language> language = de
13. config.
<http://www.typo3.net/tsref/setup/config/index.html#locale_all> locale_all =
de_DE
14. # English language, sys_language.uid = 2
15. [globalVar = GP:L = 2]
16. config.
<http://www.typo3.net/tsref/setup/config/index.html#sys_language_uid>
sys_language_uid = 2
17. config.
<http://www.typo3.net/tsref/setup/config/index.html#language> language = en
18. config.
<http://www.typo3.net/tsref/setup/config/index.html#locale_all> locale_all =
english
19. [global]
20. # Französisch language, sys_language.uid = 3
21. [globalVar = GP:L = 3]
22. config.
<http://www.typo3.net/tsref/setup/config/index.html#sys_language_uid>
sys_language_uid = 3
23. config.
<http://www.typo3.net/tsref/setup/config/index.html#language> language = fr
24. config.
<http://www.typo3.net/tsref/setup/config/index.html#locale_all> locale_all =
french
25. [global]
26. # English language, sys_language.uid = 4
27. [globalVar = GP:L = 4]
28. config.
<http://www.typo3.net/tsref/setup/config/index.html#sys_language_uid>
sys_language_uid = 4
29. config.
<http://www.typo3.net/tsref/setup/config/index.html#language> language = it
30. config.
<http://www.typo3.net/tsref/setup/config/index.html#locale_all> locale_all =
italien
31. [global]
Hat da jemand eine Idee warum die Links nicht aufgeschlüsselt werden?
Best regards
Nico
More information about the TYPO3-german
mailing list