[TYPO3-german] TT NEws, Language Menu und RealUrl
Wolf-Nicolas Henkels
nh at media-nova.com
Thu Jun 14 14:23:26 CEST 2007
Hat da keiner ne Idee?
Ich stehe total auf dem Schlauch?!
Danke,
Nico
Wolf-Nicolas Henkels schrieb:
> Hallo zusammen.
>
> Ich habe ein Problem mit RealURL, TT_News und SR Language Menu.
>
> Ich habe als Std-Sprache Deutsch eingestellt. Wenn ich die Domain
> "www.meinedomain.de/" aufrufe klappt das auch.
>
> Auf der Startseite befinden sich ein paar News, Teaser, ein
> Dropdownsprachmenu und Inhaltselemente. Wenn ich nun auf Polnisch
> umschalten will erscheint die URL: www.meinedomain.de/cms/nc/pl.html
> statt www.meinedomain.de/cms/pl/index.html und ich lande auf der
> News-Single-View-Seite. Wie kann ich das beeinflussen, bzw. wo muss ich
> suchen. Hier die RealURL-Config:
>
> <?php
>
> /**
> *
> * aeUrlTool default realurl configuration
> * based on realurl-configuration of news.typo3.org
> * http://news.typo3.org/about/realurl-configuration/
> *
> */
>
> $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['realurl'] = array (
> '_DEFAULT' => array (
> 'init' => array (
> 'enableCHashCache' => '1',
> 'respectSimulateStaticURLs' => 'TRUE',
> 'appendMissingSlash' => 'ifNotFile',
> 'enableUrlDecodeCache' => '1',
> 'enableUrlEncodeCache' => '1',
> ), // init
> 'redirects' => array (
> '' => 'cms/',
> ), // redirects
> 'preVars' => array (
> '0' => array (
> 'GETvar' => 'no_cache',
> 'valueMap' => array (
> 'nc' => '1',
> ), // vaueMap
> 'noMatch' => 'bypass'
> ), // 0
> '1' => array (
> 'GETvar' => 'L',
> 'valueMap' => array (
> 'de' => '0',
> 'en' => '1',
> 'hu' => '2',
> 'pl' => '3',
> 'ru' => '4',
> 'fr' => '5',
> 'nl' => '6',
> 'ch' => '7',
> 'valueDefault' => 'de',
> ), // valueMap
> 'noMatch' => 'bypass',
> ), // 1
> '2' => array (
> 'GETvar' => 'lang',
> 'valueMap' => array (
> 'de' => 'de',
> 'en' => 'en',
> 'hu' => 'hu',
> 'pl' => 'pl',
> 'ru' => 'ru',
> 'fr' => 'fr',
> 'nl' => 'nl',
> 'ch' => 'ch',
> ), // valueMap
> 'noMatch' => 'bypass',
> ), // 2
> '3' => array(
> 'GETvar' => 'type',
> 'valueMap' => array(
> 'print' => 98,
> ), // valueMap
> 'noMatch' => 'bypass',
> ), // 3
> ),
> 'pagePath' => array (
> 'type' => 'user',
> 'userFunc' =>
> 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
> 'spaceCharacter' => '-',
> 'segTitleFieldList' =>
> 'tx_realurl_pathsegment,alias,nav_title,title',
> 'languageGetVar' => 'L',
> 'disablePathCache' => 0,
> 'expireDays' => '1',
> 'rootpage_id' => '2',
> ), // pagePath
> 'fixedPostVars' => array (
> ), // fixedPostVars
> 'fileName' => array (
> //
> // if you don't want .html-URLs set the following to
> "false" (e.g. 'defaultToHTMLsuffixOnPrev' => false,)
> // then you get http://www.yourdomain.com/imprint/
> instead of http://www.yourdomain.com/imprint.html
> //
> 'defaultToHTMLsuffixOnPrev' => "true",
> 'index' => array (
> 'index.php' => array(
> 'keyValues' => array(
> 'type' => '0',
> ), // end keyValues
> ), // end index
> 'print.html' => array(
> 'keyValues' => array(
> 'type' => '98',
> ),
> ), // end print.html
> 'rss.xml' => array (
> 'keyValues' => array (
> 'type' => '100',
> ), // keyValues
> ), // rss
> 'rss091.xml' => array (
> 'keyValues' => array (
> 'type' => '100',
> ), // keyValues
> ), // rss091
> 'rdf.xml' => array (
> 'keyValues' => array (
> 'type' => '100',
> ), // keyValues
> ), // rdf
> 'atom.xml' => array (
> 'keyValues' => array (
> 'type' => '103',
> ), // keyValues
> ), // atom
> ), // index
> '_DEFAULT' => array('keyValues' => array()),
> ), // filename
> 'postVarSets' => array (
> '_DEFAULT' => array (
> 'index' => array(
> 'keyValues' => array(
> 'type' => '98',
> ),
> ), //index (2. Auftreten)
> 'wort' => array(
> array(
> 'GETvar' =>
> 'tx_indexedsearch[sword]',
> ), // ende
> array
> ), // ende wort
> 'rssartikel' => array(
> 'GETvar' => 'tx_ttnews[tt_news]',
> 'lookUpTable' => array (
> 'table' => 'tt_news',
> 'id_field' => 'uid',
> 'alias_field' => 'title',
> 'addWhereClause' => ' AND NOT deleted',
> 'useUniqueCache' => 'FALSE',
> 'useUniqueCache_conf' => array (
> 'strtolower' => 'TRUE',
> 'spaceCharacter' => '-',
> ), // useUniqueConf
> ), // lookUpTable
> ), // end rssartikel
> 'faq-kategorie' => array(
> array(
> 'GETvar' => 'tx_irfaq_pi1[cat]',
> // 'lookUpTable' => array(
> // 'table' =>
> 'tx_irfaq_cat',
> // 'id_field' => 'uid',
> // 'alias_field' =>
> 'title',
> // 'addWhereClause'
> => ' AND NOT deleted',
> // 'useUniqueCache'
> => 'FALSE',
> //
> 'useUniqueCache_conf' => array (
> // 'strtolower'
> => 1,
> //
> 'spaceCharacter' => '-',
> // ), // end of
> useUniqueCache_conf
> // ), // end lookUpTable
> ), // end array
> ), // end faq-kategorie
> 'archive' => array (
> '0' => array (
> 'GETvar' => 'tx_ttnews[year]',
> ), // 0
> '1' => 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',
> ), // valueMap
> ), // 1
> '2' => array (
> 'GETvar' =>
> 'tx_ttnews[day]',
> ), // 2
> ), // archive
> 'pressetext' => array(
> 0 => array (
> 'GETvar' =>
> 'tx_cwtpresscenter_pi1[showUid]',
> ), // end 0
> 1 => array(
> 'GETvar' =>
> 'tx_cwtpresscenter_pi1[action]',
> ), // end 1
> 2 => array(
> 'GETvar' =>
> 'tx_cwtpresscenter_pi1[filename]',
> 'valueMap' => array(
> 'txt' => 'txt',
> 'rtf' => 'rtf',
> 'zip' => 'zip',
> ), // end valueMap,
> //'noMatch' => 'byPass',
> ), // end 2
> ), // end presseartikel
> 'browse' => array (
> array(
> 'GETvar' =>
> 'tx_ttnews[pointer]',
> 'valueMap' => array(
>
> 'weiter' => '1',
>
> 'weiter' => '2',
> ) //
> valueMap
> ), // end array
> ), // browse
>
> 'select_category' => array (
> '0' => array (
> 'GETvar' => 'tx_ttnews[cat]',
> ), // 0
> ), // end select_category
> 'article' => array (
> array (
> 'GETvar' => 'tx_ttnews[tt_news]',
> 'lookUpTable' => array (
> 'table' => 'tt_news',
> 'id_field' => 'uid',
> 'alias_field' => 'uid',
> 'addWhereClause' => ' AND NOT deleted',
> 'useUniqueCache' => '0',
> 'useUniqueCache_conf' => array (
> 'strtolower' => 'TRUE',
> 'spaceCharacter' => '-',
> ), // useUniqueConf
> ), // lookUpTable
> ), // 0
> array (
> 'GETvar' => 'tx_ttnews[swords]',
> ), // 1
> ), // article
> 'datum' => array(
> '0' => array(
> 'GETvar' =>
> 'tx_ttnews[year]' , ), // end year
> '1' => array(
> 'GETvar' =>
> 'tx_ttnews[month]' , ), // end month
> '2' => array(
> 'GETvar' =>
> 'tx_ttnews[day]' , ), // end day
> '3' => array(
> 'GETvar' =>
> 'tx_ttnews[tt_news]',
> 'lookUpTable' => array(
> 'table' =>
> 'tt_news',
> 'id_field'
> => 'uid',
>
> 'alias_field' => 'uid',
>
> 'addWhereClause' => ' AND NOT deleted',
> 'useUniqueCache' => '1',
> 'useUniqueCache_conf' => array (
> 'strtolower' => 'TRUE',
> 'spaceCharacter' => '-',
> ), // useUniqueConf
> ), // end lookUpTable
> ), // end array
> ), // end array datum
> 'suchformular' => array(
> array(
> 'GETvar' =>
> 'tx_indexedsearch[ext]',
> 'valueMap' => array(
>
> 'erweitert' => '1',
>
> 'normal' => '0',
> ) //
> valueMap
> ), // end array
> ), // end erweitertesuche
> ), // _DEFAULT
> 'noMatch' => 'bypass',
> ), // postVarSets
> ), // _DEFAULT
>
> );
> ?>
>
> Hat jmd einen Tipp?
>
> Danke, Nico
More information about the TYPO3-german
mailing list