[TYPO3-UG Italy] Problema realurl

Nicola Cerchiari nicola.cerchiari at gmail.com
Tue Nov 2 10:31:06 CET 2010


Ecco qui, questa è l'ultima che ho notato darmi l'errore. Di diverso dalle
altre questa ha delle fixedPostVars che qui ho riportato con dei simil-dati
(questioni di riservatezza, perdonatemi), la struttura dovrebbe comunque
essere chiara.

<?php
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['realurl'] = array (
    '_DEFAULT' => array (
        'init' => array (
            'enableCHashCache' => '1',
            'appendMissingSlash' => 'ifNotFile',
            'enableUrlDecodeCache' => '1',
            'enableUrlEncodeCache' => '1',
        ),
        'redirects' => array (
        ),
        'preVars' => array (
            '0' => array (
                'GETvar' => 'no_cache',
                'valueMap' => array (
                    'nc' => '1',
                ),
                'noMatch' => 'bypass'
            ),
        ),
        'pagePath' => array (
            'type' => 'user',
            'userFunc' =>
'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
            'spaceCharacter' => '-',
            'languageGetVar' => 'L',
            'expireDays' => '7',
            'rootpage_id' => '1',
        ),
        'fixedPostVars' => array (
            29 => array(
                array(
                    'GETvar' => 'var_settata',
                    'valueMap' => array(
                        '1'   => 1,
                        '2'   => 2,
                        '3'   => 3,
                        '4'   => 4,
                    ),
                    'noMatch' => 'null',
                )
            ),
        ),
        'postVarSets' => array(
'_DEFAULT' => array(
// news archive parameters
'archive' => array(
array(
'GETvar' => 'tx_ttnews[year]' ,
),
array(
'GETvar' => 'tx_ttnews[month]' ,
'valueMap' => array(
'january' => '01',
'february' => '02',
'march' => '03',
'april' => '04',
'may' => '05',
'june' => '06',
'july' => '07',
'august' => '08',
'september' => '09',
'october' => '10',
'november' => '11',
'december' => '12',
)
),
),
// news pagebrowser
'browse' => array(
array(
'GETvar' => 'tx_ttnews[pointer]',
),
),
// news categories
'select_category' => array (
array(
'GETvar' => 'tx_ttnews[cat]',
),
),
// news articles and searchwords
'articolo' => 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]',
),
),
),
),
        'fileName' => array (
//
// if you don't want .html-URLs set the following to "false" (e.g.
'defaultToHTMLsuffixOnPrev' => false,)
// then you get http://www.yourdomain.com/imprint/ instead of
http://www.yourdomain.com/imprint.html
//
            'defaultToHTMLsuffixOnPrev' => '.html',
            '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',
                    ),
                ),
            ),
        ),
    ),
);
?>

Grazie ancora dell'aiuto.

Nicola

Il giorno 02 novembre 2010 10:25, Roberto Torresani <erreti at siel.it> ha
scritto:

> Ciao Nicola!
>
> Il giorno 02 novembre 2010 09:01, Nicola Cerchiari <
> nicola.cerchiari at gmail.com> ha scritto:
>
> > Sinceramente non riesco a capire se è un mio errore d'impostazione fino
> ad
> > ora "tollerato" o se è stato effettuato un cambiamento così drastico
> nelle
> > politiche di RealUrl tanto da non essere più compatibile con la versione
> > precedente (dubito).
> >
>
> Non penso sia un problema di compatibilità verso le precedenti versioni.
> Più
> probabile qualche impostazione "errata" che prima veniva interpretata in
> maniera differente. Prova a riportare la tua configurazione completa di
> realurl.
>
> Ciao
> Roberto
>
>
> --
> 27 novembre 2010, Bologna, T3Camp Italia: Typoscript, questo
> sconosciuto<
> http://www.t3campitalia.it/programma-talk-conferenza-typo3/typoscript-questo-sconosiuto.html
> >
> _______________________________________________
> TYPO3-UG-Italy mailing list
> TYPO3-UG-Italy at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-ug-italy
>


More information about the TYPO3-UG-Italy mailing list