[TYPO3-english] Usage of fixedPostVars in REALURL to get domain.com/page/controller/action/uid URL path structure
Dmitry Dulepov
dmitry.dulepov at gmail.com
Tue Nov 20 11:14:13 CET 2012
Hi!
Roland wrote:
> i tried this configuration:
>
> <quote>
> 'fixedPostVars' => array(
> '15' => array(
> array(
> 'GETvar' => 'mypluginnamespace[controller]',
> 'valueMap' => array(
> 'producer' => 'Producer',
> 'product' => 'Product',
> ),
> ),
> array(
> 'GETvar' => 'mypluginnamespace[action]',
> ),
> array(
> '0' => array(
> 'prevValueInList' => 'product',
> 'GETvar' => 'mypluginnamespace[product]',
> ),
> '1' => array(
> 'prevValueInList' => 'producer',
> 'GETvar' => 'mypluginnamespace[producer]',
> ),
> ),
> ),
> ),
> </quote>
The third array would not work. That configuration is incorrect. There is
no such thing as array-of-array-of-GETvar.
> i also tried this configuration:
>
> <quote>
> 'fixedPostVars' => array(
> '15' => array(
> array(
> 'GETvar' => 'mypluginnamespace[controller]',
> 'valueMap' => array(
> 'producer' => 'Producer',
> 'product' => 'Product',
> ),
> ),
> array(
> 'GETvar' => 'mypluginnamespace[action]',
> ),
> array(
> 'prevValueInList' => 'product',
> 'GETvar' => 'mypluginnamespace[product]',
> 'noMatch' => 'bypass',
> array(
> 'prevValueInList' => 'producer',
> 'GETvar' => 'mypluginnamespace[producer]',
> 'noMatch' => 'bypass',
> ),
> ),
> ),
> </quote>
This one is correct. What happens if you omit "noMatch"=>"bypass"?
--
Dmitry Dulepov
TYPO3 core & security teams member
Simplicity will save the world.
More information about the TYPO3-english
mailing list