[TYPO3-german] RealURL-Problem

Wolf-Nicolas Henkels nh at media-nova.com
Tue Jun 19 15:08:04 CEST 2007


Hallo Dennis.

Erst mal danke für deine Antwort.

Hier der gesamte Inhalt der conf:

<?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' => '101',
                     ), // keyValues
                 ), // rss091
                 'rdf.xml' => array (
                     'keyValues' => array (
                         'type' => '102',
                     ), // 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

);
?>

Wenn ich "'excludePageIds' => '2'," an den fraglichen Teil anfüge klappt 
es mit der Sprachumschaltung, aber ich bekomme natürlich keine RealURL 
auf der Homepage zu sehen.

Bye,
Nico

Dennis Schulz schrieb:
> Hallo Nico,
> 
> 
> sowas hast du aber in deiner localconf aber auch drin, oder?
> 
> 
> array(
> 'GETvar' => 'L',
> 'valueMap' => array(
> 'en' => '0',
> 'fr' => '1'
> ),
> 
> Poste doch sonst mal bitte die komplette realurl conf.
> 
> Grüße
> 
> Dennis


More information about the TYPO3-german mailing list