---
title: "realurl und wt_directory"
url: "https://www.typo3.net/d/102370-realurl-und-wt-directory"
source: "typo3.net"
tags: ["Extensions","Frage","RealURL","tt_news"]
created: "2010-11-15"
last_reply: "2010-11-17"
replies: 2
solved: false
page: 1
pages: 1
lang: "de"
---

# realurl und wt_directory

Extensions · 2 Antworten · gestartet 2010-11-15

## Eröffnungsbeitrag

**JCG** · 2010-11-15 · [Beitrag #1](https://www.typo3.net/d/102370-realurl-und-wt-directory/1)

Hallo ich habe Probleme,
realur (1.10.0) in Zusammenhang mit wt_directory und tt_news zum laufen zu bringen.

Meine Konfiguration ist wie folgt:

```php
$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
        'init' => array(
            'enableCHashCache' => 1,
            'appendMissingSlash' => 'ifNotFile',
            'enableUrlDecodeCache' => 1,
            'enableUrlEncodeCache' => 1,
            'respectSimulateStaticURLs' => 0,
            'postVarSet_failureMode'=>'redirect_goodUpperDir',
        ),
    'redirects_regex' => array (
    
    ),
    'preVars' => array(
                        array(
                                'GETvar' => 'no_cache',
                                'valueMap' => array(
                                    'no_cache' => 1,
                                ),
                                'noMatch' => 'bypass',
                        ),
                         array(
                             'GETvar' => 'L',
                             'valueMap' => array(
                                                'en' => '1',
                                        ),
                                'noMatch' => 'bypass',
                        ),
                ),
     'pagePath' => array(
            'type' => 'user',
            'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
            'spaceCharacter' => '-',
            'languageGetVar' => 'L',
            'expireDays' => 7,
            'rootpage_id' => 57,
        ),
'postVarSets' => array(
              '_DEFAULT' => array (
                 'show' => array (
                      array(
                             'GETvar' => 'tx_wtdirectory_pi1[show]',
                                              'lookUpTable' => array (
                                                      'table' => 'tt_address',
                                                      'id_field' => 'uid',
                                                      'alias_field' => 'company',
                                                      'addWhereClause' => ' AND NOT deleted',
                                                      'useUniqueCache' => 1,
                                                      'useUniqueCache_conf' => array (
                                                              'strtolower' => 1,
                                                              'spaceCharacter' => '_',
                                                      ),
                                              ),
                      ),                
              ),
								),
								),      


      'postVarSets' => array(
            '_DEFAULT' => array(
                // news archive parameters
                'archive' => array(
                    array(
                        'GETvar' => 'tx_ttnews[year]' ,
                        ),
                    array(
                        'GETvar' => 'tx_ttnews[month]' ,
                            'valueMap' => array(
                            'january' => '01',
                            'february' => '02',
                            'march' => '03',
                            'april' => '04',
                            'may' => '05',
                            'june' => '06',
                            'july' => '07',
                            'august' => '08',
                            'september' => '09',
                            'october' => '10',
                            'november' => '11',
                            'december' => '12',
                            )
                        ),
                    ),
                // news pagebrowser
                'browse' => array(
                    array(
                        'GETvar' => 'tx_ttnews[pointer]',
                        ),
                    ),
                // news categories
                'select_category' => array (
                    array(
                        'GETvar' => 'tx_ttnews[cat]',
                        ),
                    ),
                // news articles and searchwords
                'article' => array(
                    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' => '-',
                                ),
                            ),
                        ),
                    array(
                        'GETvar' => 'tx_ttnews[swords]',
                        ),
                    ),
                ),             
            ),

      'fileName' => array(
            'defaultToHTMLsuffixOnPrev'=>1,
            '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,
                    ),
                ),
            ),
        ),
 );
```

Hatte jemand eine Idee?

Ich hatte es schon am laufen wenn ich die wt_directory Konfiguration in die TT_news mit einflechte als Detailansicht.
Aber dann funktionieren eben nicht mehr die Artikelansichten von tt_news.

danke und Gruß

## Antworten

### [#2](https://www.typo3.net/d/102370-realurl-und-wt-directory/2) · einpraegsam.​net · 2010-11-15

Wenn du PostVarSets zwei Mal definierst, überschreibst du die erste Definition beim zweiten Mal.

### [#3](https://www.typo3.net/d/102370-realurl-und-wt-directory/3) · JCG · 2010-11-17

Danke.

---

Quelle: „realurl und wt_directory“, typo3.net, https://www.typo3.net/d/102370-realurl-und-wt-directory
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
