[TYPO3-english] RealURL filename wildcards

Graham Knight graham.knight5 at gmail.com
Fri Jul 27 18:26:48 CEST 2012


Hi Viktor,

Thank you very much for spending time on this. What you suggest works fine.

I nearly got there but I missed the 'defaultToHTMLsuffixOnPrev' => true part so that my "solution" did not work if there was a dot in the final component.

Graham


$TYPO3_CONF_VARS['EXTCONF']['realurl']['domain.tld'] = array(
>    'init' => array(
>        'enableCHashCache' => true,
>        'appendMissingSlash' => 'ifNotFile',
>        'enableUrlDecodeCache' => true,
>        'enableUrlEncodeCache' => true,
>        'emptyUrlReturnValue' => true,
>        'emptySegmentValue' => '-'
>    ),
>    'fileName' => array (
>        'defaultToHTMLsuffixOnPrev' => true,
>    ),
>    'pagePath' => array(
>        'type' => 'user',
>        'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
>        'spaceCharacter' => '-',
>        'expireDays' => 3,
>        'languageGetVar' => 'L',
>        'rootpage_id' => 1,
>        'disablePathCache' => false,
>        'autoUpdatePathCache' => false
>    ),
>    'preVars' => array(
>    ),
>    'postVarSets' => array(
>    ),
>    'fixedPostVars' => array(
>        '4' => array(
>            array(
>                'GETvar' => 'tx_people_pi1[field]',
>                'autoUpdate' => true,
>                )
>            )
>        )
>    )
> );
> Is it correct?
> Or you mean something else?
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>



More information about the TYPO3-english mailing list