Zum Inhalt springen

realurl und ab_downloads geht nicht

Erstellt am 6. Januar 2008 · Noch keine Antworten

Tags: RealURL, Frage

stefan72 ·

Hallo,

Ich versuche realurl mit ab_downloads zum Laufen zu bringen. Realurl ist zusätzlich auch noch füpr das mm_forum und tt_news konfiguriert.

Lasse ich realurl nur mit ab_downloads mit der Beispielkonfiguration laufen, dann gehts.

Konfiguriert für tt_news und mm_forum mit eingefügtem code der ab_downlods, funktioniern zar mm_forum und news, die Urls für ab_downloads sind aber weiterhin 'unschön':

Wo füge ich die ab_download Konfiguration ein?
Kann ich mehrere postVarSets einfügen?
Spielt die Reihenfolge eine Rolle?

Hier meine localconf.php

<?php

// localconf - ..bla bla bla
      
$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
 'init' => array(
  'enableCHashCache' => 1,
  'enableUrlDecodeCache' => 1,
  'enableUrlEncodeHash' => 1,
 ),
 'rewrite' => array(),
 'preVars' => array(),
 'pagePath' => array(
  'type' => 'user',
  'userFunc' =>
   'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
  'spaceCharacter' => '-',
  'languageGetVar' => 'L',
  'expireDays' => 3,
  'rootpage_id' => '1'
 ),
 'fileName' => array (
  'defaultToHTMLsuffixOnPrev' => 1,
  'index' => array(
   'page.html' => array(
    'keyValues' => array (
     'type' => 1,
    ),
   ),
  ),
 ),
 'postVarSets' => array(
  '_DEFAULT' => array (),
),
 'fixedPostVars' => array(
    'mm_forum_pi3' => array(
		array(
// Die mm_forum Konfiguration
),

// Die ab-downloads Konfiguration

'postVarSets' => array(
			'_DEFAULT' => array(
				'action' => array(
					array(
						'GETvar' => 'tx_abdownloads_pi1[action]',
						'valueMap' => array(
							'show-category' => 'getviewcategory',
							'propose-a-new-download' => 'getviewaddnewdownload', 
							'open-download' => 'getviewclickeddownload', 
							'show-details-for-download' => 'getviewdetailsfordownload', 
							'report-broken-download' => 'getviewreportbrokendownload',
							'rate-download' => 'getviewratedownload',
						),
					),
				),
				'category' => array(
					array(
						'GETvar' => 'tx_abdownloads_pi1[category_uid]',
						'valueMap' => array(
							'home' => '0',
						),
						'lookUpTable' => array(
							'table' => 'tx_abdownloads_category',
							'id_field' => 'uid',
							'alias_field' => 'label',
							'addWhereClause' => ' AND NOT deleted',
							'useUniqueCache' => 1,
							'useUniqueCache_conf' => array(
								'strtolower' => 1,
								'spaceCharacter' => '-',
							),
						),
					),
				),
				'download' => array(
					array(
						'GETvar' => 'tx_abdownloads_pi1[uid]',
						'lookUpTable' => array(
							'table' => 'tx_abdownloads_download',
							'id_field' => 'uid',
							'alias_field' => 'label',
							'addWhereClause' => ' AND NOT deleted',
							'useUniqueCache' => 1,
							'useUniqueCache_conf' => array(
								'strtolower' => 1,
								'spaceCharacter' => '-',
							),
						),
					),
					array(
						'GETvar' => 'cHash',
					),
				),
				'pointer' => array(
					array(
						'GETvar' => 'tx_abdownloads_pi1[pointer]',
						),
					),
			),
		),
 
 'postVarSets' => array(
// Die tt_news Konfiguration	

);

// mehr localconf bla bla bla
?>