[TYPO3-german] zu viele slashes im singleview mit realurl

Thomas Löffler thomas.loeffler at uni-hohenheim.de
Thu May 27 17:06:41 CEST 2010


Ui, schwer zu lesen...aber ich würde sagen, dass da noch 'noMatch' => 
'bypass' in den postvars fehlen.
Speziell die Zuweisungen des Datums sollten das Argument haben.

Gruß
Thomas

Am 27.05.2010 16:18, schrieb Ingo Preuß:
> Hallo,
> beim Aufrufen der singleview gibt es drei slashes zu viel im URL:
>
> domain.de/top/news/singlenews/datum////duis-autem.html
>
> localconf fuer realurl:
>
> $TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
>
> 		'init' =>  array(
> 						'useCHashCache' =>  '0',
>              			'enableCHashCache' =>  1,
> 						'respectSimulateStaticURLs' =>  'TRUE',
> 						'appendMissingSlash' =>  'ifNotFile',
> 						'enableUrlDecodeCache' =>  '1',
> 						'enableUrlEncodeCache' =>  '1',
> 					),
> 	    /*
> 		'preVars' =>  array(
>
>                             array(
>                                   'GETvar' =>  'no_cache',
>                                   'valueMap' =>  array(
>                                                       'no_cache' =>  1,
>                                                        'nc' =>  1,
>                                                 ),
>                                   'noMatch' =>  'bypass',
>                             ),
>
>                             array(
>                                   'GETvar' =>  'L',
>                                   'valueMap' =>  array(
>                                                       'de' =>  '0',
>                                                       'en' =>  '1',
>                                                 ),
>                                   'noMatch' =>  'bypass',
>                             ),
>           ),
>           */
>           'pagePath' =>  array(
> 							'type' =>  'user',
> 							'userFunc' =>
> 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
> 							'spaceCharacter' =>  '-',
> 							'segTitleFieldList' =>  'alias,tx_realurl_pathsegment,nav_title,title',
> 							'languageGetVar' =>  'L',
> 							'expireDays' =>  1,
> 							'disablePathCache' =>  1,
> 							'rootpage_id' =>  1,
> 						),
> 		'fileName' =>  array(
> 							'defaultToHTMLsuffixOnPrev' =>  true,
> 							'index' =>  array(
> 											'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,
> 																				),
> 															),
> 										),
> 		),
> 		'postVarSets' =>  array(
>              					'_DEFAULT' =>  array(
>                                       				'browse' =>  array(
>                                                         				array(
>                                                         						'GETvar' =>
> 'tx_ttnews[pointer]',
>                                                         						'valueMap' =>
> array(
>                                                         											'weiter'
> =>  '1',
>                                                         											'weiter'
> =>  '2',
>                                                         									  )
>                                                         				),
>                                                         			),
>
>                                        'kategorie' =>  array (
>                                                        		array(
>                                                        				'GETvar' =>
> 'tx_ttnews[cat]',
>                                                        				'lookUpTable' =>
> array(
>                                                        										'table' =>
> 'tt_news_cat',
>                                                        										'id_field'
> =>  'uid',
>                                                        										'alias_field'
> =>
> 'title',
>                                                        										'addWhereClause'
> =>  ' AND
> NOT
> deleted',
>                                                        										'useUniqueCache'
> =>  1,
> 'useUniqueCache_conf'
> =>  array(
>                                                        																							'strtolower'
> =>
> 1,
>                                                        																							'spaceCharacter'
> =>
> '-',
>                                                        																						),
>                                                        									),
>                                                        		),
>                                                        ),
>                                        'datum' =>  array(
>                                                 			array('GETvar' =>
> 'tx_ttnews[year]' ,
>                                                 	),
>                                                	array(
>                                                		'GETvar' =>
> 'tx_ttnews[month]' ,
>                                                	),
>                                                	array(
>                                                		'GETvar' =>
> 'tx_ttnews[day]' ,
>                                                	),
>                                                	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'
> =>  '-',
>                                                					  												),
>                                                					  					),
>                                                	),
>                                          ),
> ),
> ),
> );
>
> Auskommentieren der preVars hat nicht geholfen.
>
> Gruß, Ingo
>
>
>
>
>
>
> ----------------------
>
> Ingo Preuss
> Rigaer Strasse 65
> 10247 Berlin
>
> 0163.160 51 03
>
>
>    



More information about the TYPO3-german mailing list