Einzelnen Beitrag anzeigen
  #1  
Alt 04.04.07, 13:14
Benutzerbild von MistaD
MistaD MistaD ist offline
TYPO3 Forum Team
Moderator
 
Registriert seit: 25.01.06
Beiträge: 1.457

REALUrl will nicht richtig


Hallo,

habe bei mir als einmal RealUrl zum Test laufen, funtioniert auch soweit nur wie bekomme ich den Bereich hinter dem link zum eigentlichen Artikel (habe ich rot gefärbt) weg?

neuigkeiten/aktuell/artikel/heute-was-neues/?tx_ttnews%5Byear%5D=2007&tx_ttnews%5Bmonth%5D=03&tx_ttnews%5Bday%5D=15&cHash=a5da8dd0 ed

Habe auch schon eine andere Version getestet (hier im Forum gefunden) mit der .index.html endung, oder auch nur mit einem / als letztem Zeichen, aber dort ist immer das Datum mit übergeben, was ich nicht möchte.

So wie oben ist es ja schon soweit ok, nur dieser rest des Links (cHash).

hier mein Eintrag aus der localconf:
PHP-Code:
$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array( 
    
'pagePath' => array( 
        
'type' => 'user'
        
'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main'
        
'spaceCharacter' => '-'
        
'languageGetVar' => 'L'
        
'expireDays' => 
    
), 
    
'fileName' => array ( 
        
'defaultToHTMLsuffixOnPrev'=> 
    
), 
); 

$TYPO3_CONF_VARS['EXTCONF']['realurl'] = array( 
    
'_DEFAULT' => array( 
        
'init' => array( 
            
'enableCHashCache' => 1
            
'appendMissingSlash' => 'ifNotFile'
            
'enableUrlDecodeCache' => 1
            
'enableUrlEncodeCache' => 1
        ), 
        
'redirects' => array(), 
        
'preVars' => array( 
            array( 
                
'GETvar' => 'no_cache'
                
'valueMap' => array( 
                    
'nc' => 1
                ), 
                
'noMatch' => 'bypass'
            ), 
            array( 
                
'GETvar' => 'L'
                
'valueMap' => array( 
                    
'de' => '0'
                    
'en' => '1'
                ), 
                
'noMatch' => 'bypass'
            ), 
        ), 
        
'pagePath' => array( 
            
'type' => 'user'
            
'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main'
            
'spaceCharacter' => '-'
            
'languageGetVar' => 'L'
            
'expireDays' => 
        
), 
        
'fileName' => array ( 
            
'defaultToHTMLsuffixOnPrev'=> 
        
),         
        
'fixedPostVars' => array(), 
        
'postVarSets' => array( 
            
'_DEFAULT' => array( 
                
// news pagebrowser 
                
'browse' => array( 
                    array( 
                        
'GETvar' => 'tx_ttnews[pointer]'
                        ), 
                    ), 
                
// 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]'
                        ), 
                    ), 
                ), 
            ), 
        
// configure filenames for different pagetypes 
        
'fileName' => array( 
            
'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
                    ), 
                ), 
            ), 
        ), 
    ), 

); 

Vielen dank für eure Hilfe.

Gruss
MD

Geändert von MistaD (04.04.07 um 13:21 Uhr).
Mit Zitat antworten