Zum Inhalt springen

realurl_conf blätterfunktion in news

Erstellt am 10. Januar 2017 · 1 Antwort · letzte Antwort am 10. Januar 2017

Tags: Seiten & Seitenbaum, RealURL, TYPO3 7, Frage

rassloff ·

Mahlzeit,

TYPO3 7.6.15 + realurl 2.1.5 laufen top.

nur bei den news die seiten - blätterfunktion tut es nicht.

domain/news/?tx_news_pi1[%40widget_0][currentPage]=2&cHash=24688afe2a018cf542dfe87011989e2a

statt

domain/news/seite/2

'postVarSets' => 
		array (
			'_DEFAULT' => 
			array (
				'news' => 
				array (
					0 => 
					array (
						'GETvar' => 'tx_news_pi1[news]',
						'lookUpTable' => 
					array (
						'table' => 'tx_news_domain_model_news',
						'id_field' => 'uid',
						'alias_field' => 'title',
						'useUniqueCache' => 1,
						'useUniqueCache_conf' => 
						array (
							'strtolower' => 1,
							'spaceCharacter' => '-',
							),
						),
					),
					array(
						'GETvar' => 'tx_news_pi1[showUid]',
					),
				),
				'seite' => array(
					array(
						'GETvar' => 'tx_news_pi1[@widget_0][currentPage]',
						
					),
				),
				'controller' => array(
					array(
						'GETvar' => 'tx_news_pi1[action]',
						'noMatch' => 'bypass'
					),
					array(
						'GETvar' => 'tx_news_pi1[controller]',
						'noMatch' => 'bypass'
					),
				),
			),
		),
rassloff ·

[gelöst]

hatte irgendein Fehler in der realurl_conf.php

Lösungsansatz nochmal sauber kopiert,
alle Werte überprüft, realurl deaktiviert ,
im installtool alle tabellen gelöscht, realurl wieder aktiviert.

und fertig.

$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['realurl']=array (

	'_DEFAULT' =>array (
		'init' => 
		array (                                     /* cache problem auf tastenwelt mit cache und realurl */
			'enableCHashCache' => true, /* wenn auf null oder false, Sitemap und der Canonical-URL der cHash Wert angehängt */
			'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',
			'disablePathCache' => 1, /*  weiterer test  */
		),
		'fileName' => 
		array (
			'defaultToHTMLsuffixOnPrev' => 0, /* ############  das macht .html wenn 1 - wenn 0 schöner phad !!! ############ */
			'acceptHTMLsuffix' => 1,
			'index' => 
			array (
				'print' => 
				array (
					'keyValues' => 
					array (
						'type' => 98,
					),
				),
				/* ################################################################################################################################################# */
				/* ###################################################### macht unter domain.de/robots.txt erreichbar. ##################################### */
				'robots.txt' => array(
					'keyValues' => array(
						'type' => 201,
                    ),
                ),
				/* ##################################################### eingefügt am 14.06.2016 ################################################################### */
				/* ################################################################################################################################################# */
			),
		),
		'postVarSets' => 
		array (
			'_DEFAULT' => 
			array (
				'news' => 
				array (
					0 => 
					array (
						'GETvar' => 'tx_news_pi1[news]',
						'lookUpTable' => 
					array (
						'table' => 'tx_news_domain_model_news',
						'id_field' => 'uid',
						'alias_field' => 'title',
						'useUniqueCache' => 1,
						'useUniqueCache_conf' => 
						array (
							'strtolower' => 1,
							'spaceCharacter' => '-',
							),
						),
					),
					array(
						'GETvar' => 'tx_news_pi1[showUid]',
					),
				),
				'seite' => array(
					array(
						'GETvar' => 'tx_news_pi1[@widget_0][currentPage]',
						
					),
				),
				'controller' => array(
					array(
						'GETvar' => 'tx_news_pi1[action]',
						'noMatch' => 'bypass'
					),
					array(
						'GETvar' => 'tx_news_pi1[controller]',
						'noMatch' => 'bypass'
					),
				),
			),
		),
	),
	//'domain.de' => 'www.domain.de',
);