[TYPO3-german] Probleme bei Sprachwechsel (realurl?)
Silke Capo
s.capo at digital-worx.de
Thu Aug 22 11:17:29 CEST 2013
Hallo Bernd, hallo Renzo,
vielen Dank für eure Ideen!
Hier meine Konfigurationen:
ich verwende, wie gesagt TYPO3 4.5.29 (war eine schon vorhandene
Installation, deshalb kein 4.7).
Extensions, die was mit Sprache zu tun haben, sind neben
sr_language_menu (Version 1.5.2) noch der Localization Manager (l10nmgr,
Version 3.4.0) sowie System language labels (lang, Version0.3.0).
Neben realurl (Version 1.11.2) läuft noch eine solr.
Mein Typoscript (habe versucht, nur das Wichtige zu kopieren):
Sprachsetup:
============
# typoskript setup
config {
doctype = xhtml_trans
// Character sets
renderCharset = utf-8
metaCharset = utf-8
// URL Settings
simulateStaticDocuments = 0
tx_realurl_enable = 1
// Language Settings
uniqueLinkVars = 1
linkVars = L
sys_language_uid = 0
sys_language_overlay = 1
sys_language_mode = hideNonTranslated
language = de
locale_all = de_DE.UTF-8
htmlTag_langKey = de
// Link settings
# # absRefPrefix = /
prefixLocalAnchors = all
// Remove targets from links
intTarget =
extTarget =
disablePrefixComment = 1
}
#multilanguage setup
[globalVar = GP:L = 1]
config {
sys_language_uid = 1
language = en
locale_all = en_EN
htmlTag_langKey = en
}
[global]
[globalVar = GP:L = 2]
config {
sys_language_uid = 2
language = es
locale_all = es_ES
htmlTag_langKey = es
}
[global]
#flags for default language in backend
mod.SHARED.defaultLanguageLabel = Deutsch
mod.SHARED.defaultLanguageFlag = de.gif
Menü:
=====
#mainmenu
50 = HMENU
50{
entryLevel = 0
wrap = </div><div id="mainmenu">|</div>
1 = TMENU
1{
wrap = <ul id="menu-1" class="menu">|</ul>
expAll = 1
noBlur= 1
NO.wrapItemAndSub= <li class="first">|</li> |*| <li>|</li> |*|<li
class="last">|</li>
NO.stdWrap.htmlSpecialChars = 1
NO.expAll = 1
ACT < .NO
ACT = 1
ACT{
expAll = 1
wrapItemAndSub= <li class="first active">|</li> |*| <li
class="active">|</li> |*|<li class="last active">|</li>
}
ACTIFSUB < .NO
ACTIFSUB = 1
ACTIFSUB{
wrapItemAndSub= <li class="first active">|</li> |*| <li
class="active">|</li> |*|<li class="last active">|</li>
}
CUR < .NO
CUR = 1
CUR{
wrapItemAndSub= <li class="first active cur">|</li> |*| <li
class="active cur">|</li> |*|<li class="last active cur">|</li>
}
}
2=TMENU
2 < .1
2{
wrap = <ul class="level2"> | </ul>
}
3=TMENU
3 < .2
3{
wrap = <ul class="level3"> | </ul>
}
}
Das Menü ist der "Übeltäter", der nach einer Weile falsche Links zeigt
(mit dieser Datei hineingemischt, wobei die Datei, der reingeschoben
wird bei den verschiedenen Menüpunkten variiert).
realurl config:
===============
// realurl config
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['realurl'] = array(
'_DEFAULT' => array(
'init' => array(
'enableCHashCache' => true,
'appendMissingSlash' => 'ifNotFile,redirect',
'adminJumpToBackend' => true,
'enableUrlDecodeCache' => true,
'enableUrlEncodeCache' => true,
'emptyUrlReturnValue' => '/',
'postVarSet_failureMode' => 'redirect_goodUpperDir'
),
'pagePath' => array(
'type' => 'user',
'userFunc' =>
'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
'spaceCharacter' => '-',
'languageGetVar' => 'L',
'rootpage_id' => '1',
'segTitleFieldList' => 'alias,subtitle,nav_title,title',
),
'fixedPostVars' => array(),
'postVarSets' => array('_DEFAULT' => array(
// news archive parameters
'archive' => array(
array(
'GETvar' => 'tx_ttnews[year]' ,
),
array(
'GETvar' => 'tx_ttnews[month]' ,
'valueMap' => array(
'january' => '01',
'february' => '02',
'march' => '03',
'april' => '04',
'may' => '05',
'june' => '06',
'july' => '07',
'august' => '08',
'september' => '09',
'october' => '10',
'november' => '11',
'december' => '12',
)
),
),
// news pagebrowser
'browse' => array(
array(
'GETvar' => 'tx_ttnews[pointer]',
),
),
// news categories
'select_category' => array(
array(
'GETvar' => 'tx_ttnews[cat]',
),
),
// news articles and searchwords
'article' => array(
array(
'GETvar' => 'tx_ttnews[tt_news]',
'lookUpTable' => array(
'table' => 'tt_news',
'id_field' => 'uid',
'alias_field' => 'title',
'addWhereClause' => ' AND NOT deleted',
'useUniqueCache' => 1,
'useUniqueCache_conf' => array(
'strtolower' => 1,
'spaceCharacter' => '-',
),
),
),
array('GETvar' => 'tx_ttnews[backPid]', ),
array('GETvar' => 'tx_ttnews[swords]', ),
),
),
),
// configure filenames for different pagetypes
'fileName' => array(
'index' => array(
'print' => array(
'keyValues' => array(
'type' => 98,
),
),
'rss.xml' => array(
'keyValues' => array(
'type' => 100,
),
),
'rss091.xml' => array(
'keyValues' => array(
'type' => 101,
),
),
'rdf.xml' => array(
'keyValues' => array(
'type' => 102,
),
),
'atom.xml' => array(
'keyValues' => array(
'type' => 103,
),
),
),
'defaultToHTMLsuffixOnPrev' => 0,
'acceptHTMLsuffix' => 1,
),
'preVars' => array(0 => array(
'GETvar' => 'L',
'valueMap' => array(
'de' => '0',
'en' => '1',
),
'valueDefault' => 'de',
'noMatch' => 'bypass',
),
),
),
);
$TYPO3_CONF_VARS['EXTCONF']['realurl']['www.roehm.biz']['pagePath']['rootpage_id']
= 1;
$TYPO3_CONF_VARS['EXTCONF']['realurl']['roehm.biz']['pagePath']['rootpage_id']
= 1;
$TYPO3_CONF_VARS['EXTCONF']['realurl']['www.spannbacken.biz']['pagePath']['rootpage_id']
= 533;
Ich hoffe, ihr könnt mit diesen Informationen etwas anfangen...
Gerade sehe ich, dass die Links, die gestern noch "normal" waren, schon
wieder so aussehen (nur DE):
http://www.roehm.biz/anwendungen/?L=1uploads%2Ftx_userproducts%2Ftechnische_mlksp_it.pdf
nach Löschen des Typo3-Cache:
http://www.roehm.biz/anwendungen/
(also wieder unauffällig)
Ich würde wirklich gerne wissen, woher realurl immer diese Dateinamen nimmt.
Viele Grüße,
Silke
--
-------------------------------------
echolot digital worx GmbH
Schulze-Delitzsch-Str. 16
70565 Stuttgart
Tel. 0711 220 40 93 0
Fax. 0711 220 40 93 44
[name]@digital-worx.de
http://www.digital-worx.de
-------------------------------------
Geschaeftsfuehrer:
Sven Rahlfs
Mirko Ross
HRB 22 5281 Amtsgericht Stuttgart
USt.-Id. Nr.: DE218401190
-------------------------------------
Unseren Blog finden Sie unter:
http://think.digital-worx.de
More information about the TYPO3-german
mailing list