[TYPO3-german] powermail, tx_news und realurl

Michael Gugetzer mgugetzer at barff.de
Wed Feb 17 11:14:06 CET 2016


Hallo Alex,

der Link zu einer News-Detailseite sieht so aus

/ideen-pool/ideen-pool-detail/news/detail/News/das-ist-eine-news-video-ueberschrift-text/

und hier mal meine Real-url Konfiguration.  (Leider funktionieren die Formattags nicht?)

<?php
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['realurl'] = array(
    'domain.dev' =>
        array(
            'init' =>
                array(
                    'enableCHashCache' => true,
                    'appendMissingSlash' => 'ifNotFile,redirect',
                    'adminJumpToBackend' => true,
                    'enableUrlDecodeCache' => true,
                    'enableUrlEncodeCache' => true,
                    'emptyUrlReturnValue' => '/',
                ),
            'pagePath' =>
                array(
                    'type' => 'user',
                    'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
                    'spaceCharacter' => '-',
                    'languageGetVar' => 'L',
                    'rootpage_id' => '1',
                ),
            'fileName' =>
                array(
                    'defaultToHTMLsuffixOnPrev' => 0,
                    'acceptHTMLsuffix' => 1,
                    'index' =>
                        array(
                            'print' =>
                                array(
                                    'keyValues' =>
                                        array(
                                            'type' => 98,
                                        ),
                                ),
                        ),
                ),
            'preVars' =>
                array(
                    0 =>
                        array(
                            'GETvar' => 'L',
                            'valueMap' =>
                                array(
                                    'en' => '1',
                                ),
                            'noMatch' => 'bypass',
                        ),
                ),
            'postVarSets' =>
                array(
                    '_DEFAULT' =>
                        array(


                            // EXT:news start
                            'news' => array(
                                array(
                                    'GETvar' => 'tx_news_pi1[action]',
                                ),
                                array(
                                    'GETvar' => 'tx_news_pi1[controller]',
                                ),
                                array(
                                    'GETvar' => 'tx_news_pi1[news]',
                                    'lookUpTable' => array(
                                        'table' => 'tx_news_domain_model_news',
                                        'id_field' => 'uid',
                                        'alias_field' => 'title',
                                        'addWhereClause' => ' AND NOT deleted',
                                        'useUniqueCache' => 1,
                                        'useUniqueCache_conf' => array(
                                            'strtolower' => 1,
                                            'spaceCharacter' => '-',
                                        ),
                                        'languageGetVar' => 'L',
                                        'languageExceptionUids' => '',
                                        'languageField' => 'sys_language_uid',
                                        'transOrigPointerField' => 'l10n_parent',
                                        'autoUpdate' => 1,
                                        'expireDays' => 180,
                                    ),
                                ),
                            ),
                        ),
                ),
        ),
);


More information about the TYPO3-german mailing list