[TYPO3-english] realurl and extbase extension config

Domi djgarms at gmail.com
Thu Sep 27 01:56:33 CEST 2012


Hello,

I try to get realurl running with my extbase fluid extension. The 
Realurl rewriting works with my snippet, but the controller and action 
names are part of the url:

     $tx_realurl_config['postVarSets']['_DEFAULT']['controller'] = array(
         array(
             'GETvar' => 'tx_dmftravelagent_travelagent[action]',
         ),
         array(
             'GETvar' => 'tx_dmftravelagent_travelagent[controller]',
         )
     );

I tried to get rid of them with:

     $tx_realurl_config['postVarSets']['_DEFAULT']['controller'] = array(
         array(
             'GETvar' => 'tx_dmftravelagent_travelagent[action]',
             'noMatch' => 'bypass'
         ),
         array(
             'GETvar' => 'tx_dmftravelagent_travelagent[controller]',
             'noMatch' => 'bypass'
         )
     );

But now the link is not reaching for example the detail view, only the 
default view gets loaded.

How do I get rid of action and controller inside the url, but still get 
  the arguments passed through?

Thanks,

Dominic


More information about the TYPO3-english mailing list