Zum Inhalt springen

Probleme mit statischen Seiten / realurl

Erstellt am 17. November 2005 · Noch keine Antworten

Tags: RealURL, Frage

Focus3 ·

Hi,
ich habe mir aus einigen Postings dies hier zusammen gebastelt und in die localconf kopiert. Klappt auch, nur würde ich gern das er nicht alle Seiten als index.html schreibt, sondern je nach Seite z.b. als home.html.

Die Druckausgabe sieht auch noch nicht so toll aus, aber das ist nicht ganz so wichtig: .../print/en/unternehmen/index.html?amp%3BL=2

....
$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
              'preVars' => array(
                  array(
                      'GETvar' => 'no_cache',
                      'valueMap' => array(
                          'no_cache' => 1,
                      ),
                      'noMatch' => 'bypass',
                  ),
                array(
					  'GETvar' => 'type',
					  'valueMap' => array(
					  'print' => 98,
					   ),
					  'noMatch' => 'bypass',
				  ),
  
		array(
                     'GETvar' => 'L',
                     'valueMap' => array(
                         'de' => '0',
                         //'german' => '0',
                         'en' => '2',
                         //'english' => '2',
                         'pl' => '3',
                         //'polnisch' => '3',
                    ),
                     'valueDefault' => 'de',
                 ),
             ),
             'fileName' => array (
                 'index' => array(
                     'page.html' => array(
                         'keyValues' => array (
                             'type' => 1,
                         )
                     ),
                     '_DEFAULT' => array(
                         'keyValues' => array(
                         )
                     ),
                 ),
             ),
      'pagePath' => array(
      'type' => 'user',
      'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
      'spaceCharacter' => '-',
      'languageGetVar' => 'L',
      'expireDays' => 3
              ),
'fileName' => array (
'defaultToHTMLsuffixOnPrev' => 1,
'index' => array(
'index.html' => array(
'keyValues' => array()
),),),);
....