Zum Inhalt springen

fixedPostVars Konfiguration von Realurl

Erstellt am 19. Januar 2014 · 1 Antwort · letzte Antwort am 20. Januar 2014

Tags: RealURL, URLs & Routing, Frage

DocSnyder1312 ·

Ich versuche seit Tagen meine ?type=1 Variable mit Realurl in den Griff zu bekommen.
Ich habe es geschafft mit postvars eine url wie domain.de/hallo/druckversion/druckversion erstellen zu lassen.
Ich will aber domain.de/hallo/druckversion mit fixedpostvars erstellen.
Meine config:

<?php
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['realurl'] = array (
	'_DEFAULT' =>
	array (
		'init' =>
		array (
			'enableCHashCache' => true,
			'appendMissingSlash' => 'ifNotFile,redirect',
			'adminJumpToBackend' => true,
			'enableUrlDecodeCache' => true,
			'enableUrlEncodeCache' => true,
			'emptyUrlReturnValue' => '/',
		),
		'pagePath' =>
		array (
			'type' => 'user',
			'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
			'spaceCharacter' => '-',
			'languageGetVar' => 'L',
			'rootpage_id' => 1,
			'expireDays' => 3,
		),
		'fileName' =>
		array (
			'defaultToHTMLsuffixOnPrev' => 0,
			'acceptHTMLsuffix' => 1,
			'index' =>
			array (
				'print' =>
				array (
					'keyValues' =>
					array (
						'type' => 98,
					),
				),
			),
		),
		'preVars' =>
		array (
			array (
				'GETvar' => 'L',
				'valueMap' =>
				array (
					'de' => '0',
					'en' => '1',
				),
				'noMatch' => 'bypass',
				'valueDefault' => 'de',
			),				
			
		),
		'fixedPostVars' => 
		array(
			array(
				'GETvar' => 'type',
                'valueMap' =>
				array (
                	'druckversion' => '1',
               	),
			),
		),
		'postVarSets' => array(
			'_DEFAULT' => array(
				'article' => array(
					array(

Sieht jemand einen Fehler?