[TYPO3-UG Italy] errore con REALURL e NEWS
giovanni li
giovanni.liv at gmail.com
Mon Apr 27 15:35:25 CEST 2009
Ciao Roberto,
In typoscript ho messo le solite righe:
#CONFIGURAZIONE REALURL
config.simulateStaticDocuments = 0
config.baseURL = http://www.nomesito.it
config.tx_realurl_enable = 1
config.prefixLocalAnchors = all
#Configurazione estensione Realurl per News
plugin.tt_news {
dontUseBackPid = 1
useHRDates = 1
}
Non ho toccato il file realurl_conf.php che ho cercato ma non trovato nella
cartella typo3conf. Ho quindi aggiunto la configurazione dell'estensione
realurl per le news nel file localconf.php:
$TYPO3_CONF_VARS['EXTCONF']['realurl'] = array(
'_DEFAULT' => array(
'init' => array(
'enableCHashCache' => 1,
'appendMissingSlash' => 'ifNotFile',
'enableUrlDecodeCache' => 1,
'enableUrlEncodeCache' => 1,
),
'redirects' => array(),
'preVars' => array(
array(
'GETvar' => 'no_cache',
'valueMap' => array(
'nc' => 1,
),
'noMatch' => 'bypass',
),
array(
'GETvar' => 'L',
'valueMap' => array(
'dk' => '2',
'de' => '1',
),
'noMatch' => 'bypass',
),
),
'pagePath' => array(
'type' => 'user',
'userFunc' =>
'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
'spaceCharacter' => '-',
'languageGetVar' => 'L',
'expireDays' => 7,
###### include your rootpage id here
'rootpage_id' => 1,
),
'fixedPostVars' => array(),
'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',
'Ottobre' => '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 HO CAMBIATO la parola
article con articolo
'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]',
),
),
),
),
// configure filenames for different pagetypes
'fileName' => array(
'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,
Giovanni
Il giorno 27 aprile 2009 14.02, Roberto Torresani <erreti at siel.it> ha
scritto:
> Ciao Giovanni!
> hai fatto qualche configurazione per il modulo realurl nel typoscript o nel
> file realurl_conf.php?
>
> Ciao
> Roberto
>
>
> Il giorno 27 aprile 2009 12.05, giovanni li <giovanni.liv at gmail.com> ha
> scritto:
>
> > Ciao,
> >
> > Ho installato come altre volte realurl su Typo3.
> > Funziona bene per tutte le pagine eccetto che per le news.
> > Ho fatto molti tentativi senza risultati.
> >
> > Nella barra di navigazione l'indirizzo viene scritto bene.
> >
> > Ma la pagina non viene generata e mi dà questo errore:
> > Not Found
> >
> > The requested URL /novita.html/news/evento/articolo/corsi-aprile/ was not
> > found on this server.
> >
> > Non riesco a risolvere il problema.
> >
> > grazie,
> >
> > Giovanni
> > _______________________________________________
> > TYPO3-UG-Italy mailing list
> > TYPO3-UG-Italy at lists.netfielders.de
> > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-ug-italy
> >
> _______________________________________________
> TYPO3-UG-Italy mailing list
> TYPO3-UG-Italy at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-ug-italy
>
More information about the TYPO3-UG-Italy
mailing list