[TYPO3-ttnews] news: realurl configuration
Jordan van Bergen
jordanvanbergen at gmail.com
Tue Sep 20 09:57:38 CEST 2011
Hi all,
concerning the [news] extension: trying to get realurl working. I
looked in the different directories and found this configuration
example:
$postvars = array(
'news' => array(
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' => '-',
),
),
),
array(
'GETvar' => 'tx_news_pi1[action]',
),
array(
'GETvar' => 'tx_news_pi1[controller]',
),
array(
'GETvar' => 'tx_news_pi1[year]',
),
array(
'GETvar' => 'tx_news_pi1[month]',
),
),
);
Addes this to my realurl setup in /typo3conf/localconf.php where the
current tt_news realurl setup is also located but the individual news
items still show up like this:
http://localhost.geefgratis.nl/nc/over-ons/persberichten/?tx_news_pi1%5Bcontroller%5D=News&tx_news_pi1%5Baction%5D=detail&tx_news_pi1%5Bnews%5D=50&cHash=b7d0344b2eaf9c1977577e68301b51d7
Anyone have realurl setup in combination with news up and running and
wants to share how to make realurl work in the
/typo3conf/localconf.php configuration file or another way to make it
work?
Best regards
Jordan
More information about the TYPO3-project-tt-news
mailing list