[TYPO3] Realurl question
dfragos
dfragos at ee.auth.gr
Mon Oct 23 02:42:30 CEST 2006
I have a problem with realurl. I have a site which uses only Greek but
unfortunately Realurl doesn't produce any record for page titles which are
in Greek. It is like trimming all the characters which are in Greek. If a
title has an English character in it, it will show up, alla the other
records which have Greek will be empty.
Can anyone help me please?
thanks in advance
Dionisis
My configuration is
config.sys_language_uid = 0
config.language = gr
config.locale_all = el_GR.UTF-8
I use utf-8 in my database and the realurl conf file is
// Activate script Hook, normaly already done in
ext/realurl/ext_localconf.php
$TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tstemplate.php']['linkData-PostProc'][]
='EXT:realurl/class.tx_realurl.php:&tx_realurl->encodeSpURL';
$TYPO3_CONF_VARS['SC_OPTIONS']['tslib/class.tslib_fe.php']['checkAlternativeIdMethods-PostProc'][]
='EXT:realurl/class.tx_realurl.php:&tx_realurl->decodeSpURL';
// script Hook for clear all cache, normaly already done in
ext/realurl/ext_localconf.php
$TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['clearAllCache_additionalTables']['tx_realurl_urldecodecache']
= 'tx_realurl_urldecodecache';
$TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['clearAllCache_additionalTables']['tx_realurl_urlencodecache']
= 'tx_realurl_urlencodecache';
$TYPO3_CONF_VARS['FE']['addRootLineFields'] .=
',tx_realurl_pathsegment,alias,nav_title,title';
// realurl config
$TYPO3_CONF_VARS['EXTCONF']['realurl'] = array(
'_DEFAULT' => array(),
//configuration matching only this domain
'faedrion.ee.auth.gr' => array(
'init' => array(
'enableCHashCache' => 1,
'appendMissingSlash' => 'ifNotFile',
'enableUrlDecodeCache' => 1,
'enableUrlEncodeCache' => 1,
),
'redirects' => array(),
'preVars' => array(
//match &no_cache=1 with path prefix /nc
array(
'GETvar' => 'no_cache',
'valueMap' => array(
'nc' => 1,
),
'noMatch' => 'bypass',
),
),
// use extended page name rendering
// page names are converted to readalbe
page/sub-page/sub-sub-page.html
'pagePath' => array(
'type' => 'user',
'userFunc' =>
'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
'spaceCharacter' => '-',
'segTitleFieldList' =>
'tx_realurl_pathsegment,alias,nav_title,title',
'expireDays' => 3,
'rootpage_id' => 1,
),
'fixedPostVars' => array(),
// match extension parameter
'postVarSets' => array(
'_DEFAULT' => array( 'period' => array(
array(
'condPrevValue' => -1,
'GETvar' => 'tx_ttnews[pS]' ,
// 'valueMap' => array(
//
// )
),
array(
'GETvar' => 'tx_ttnews[pL]' ,
// 'valueMap' => array(
//
// )
),
array(
'GETvar' => 'tx_ttnews[arc]' ,
'valueMap' => array(
'archived' => 1,
'non-archived' => -1,
)
),
),
// pagebrowser
'browse' => array(
array(
'GETvar' => 'tx_ttnews[pointer]',
),
),
'select' => array (
array(
'GETvar' => 'tx_ttnews[cat]',
'lookUpTable' => array(
'table' => 'tt_news_cat',
'id_field' => 'uid',
'alias_field' => 'title',
'addWhereClause' => ' AND NOT deleted',
'useUniqueCache' => 1,
'useUniqueCache_conf' => array(
'strtolower' => 1,
),
),
),
),
'article' => array(
array(
'GETvar' => 'tx_ttnews[backPid]',
),
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(
'index' => array(
'print.html' => array(
'keyValues' => array(
'type' => 98,
),
),
'rss.xml' => array(
'keyValues' => array(
'type' => 100,
),
),
// 'index.html' => array(
// add .html suffix to the end of the path generated
'defaultToHTMLsuffixOnPrev' => 1,
),
)
);
More information about the TYPO3-english
mailing list