[TYPO3-dev] Leaver 'article' out of URL - RealURL / tt_news
Tomas Norre Mikkelsen
tomasnorre at gmail.com
Thu Feb 14 14:04:02 CET 2013
Hi,
I have problem with RealURL and tt_news, I want to leave out 'article'
of the url like this:
http://domain.ni/press/singleview/article/new-website-born/ should be:
http://domain.ni/press/singleview/new-website-born/
According to following links:
1)
http://stackoverflow.com/questions/9617293/tt-news-and-realurl-shorten-url-of-news-article
2) http://wiki.typo3.org/Realurl/manual#Example:_.22fixedPostVars.22
This could be fixed with fixedPostVars, but mine is not working.
I have following configuration: 53 = singleview(pid)
'fixedPostVars' => array(
'53' => 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' => '-',
),
),
),
),
),
Any hints on what could be missing? When using config as above link
looks like this.
http://domain.ni/press/singleview/?tx_ttnews%5Btt_news%5D=99&cHash=43cfb05bc08707a86bb7582fc3c17d29
So the link is not rewritten. :/
--
Best Regards
Tomas Norre Mikkelsen
TYPO3 Profile: http://forge.typo3.org/users/4289
TYPO3 Developer @ netimage.dk
Follow me at twitter.com/tomasnorre
More information about the TYPO3-dev
mailing list