rtgx

Nastavenie realurl pre extension tt_news

PHP: typo3conf/localconf.php

$TYPO3_CONF_VARS['EXTCONF']['realurl'] = array(
'_DEFAULT' => 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',
'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
'article' => array(
array(
'GETvar' => 'tx_ttnews[tt_news]',
'lookUpTable' => array(
'table' => 'tt_news',
'id_field' => 'uid',
'alias_field' => 'title',
'addWhereClause' => ' AND NOT deleted',
'languageGetVar' => 'L',
'languageExceptionUids' => '',
'languageField' => 'sys_language_uid',
'transOrigPointerField' => 'l18n_parent',
'useUniqueCache' => 1,
'useUniqueCache_conf' => array(
'strtolower' => 1,
'spaceCharacter' => '-',
),
),
),
array(
'GETvar' => 'tx_ttnews[swords]',
),
array(
'GETvar' => 'tx_ttnews[backPid]'
),
array(
'GETvar' => 'cHash',
),
),
),
),
),
);

Výsledok

sitename.sk/novinky/detail_novinky/article/poezia-vo-fotografii//315/6f6aaf121a/index.html
 
Žiadne dokumenty ani odkazy k tejto stránke.