[TYPO3-ttnews] tt_news + realurl + useSPidFromCategory = no singlepage
Krzysztof Świderski
swidrak at gmail.com
Fri Dec 9 10:02:29 CET 2011
Hello,
I do have problem with tt_news and realurl after upgrading to curent
versions from tt_news 3.0.1 & realurl: 1.8.1
I'm using useSPidFromCategory to display news on different singlepages
depending on tt_news categories.
Page structures on my website:
root - homepage
|_ category page (*pid 11* - ulr: "category-title")
|_ subcategory page (*pid 99* - url: "subcategory-title")
|_ singlepage for category (*pid 88* - url: "//article/tt_newsa-title")
This configuration worked previously!
When realurl is disabled, links are pointing to single page (pid 88):
*realurl off: id=88&tx_ttnews[tt_news]=61*
After enabling realurl links are generated with wrong pid resolved as
singlepage (99 not 88).
Browser displaying page with pid 88 and not singlepage with current tt_news
Good realurl address resolved to wrong parameters (from devlog)
*realurl off: id=99&tx_ttnews[tt_news]=61*
*realulr on : /category-title/subcategory-title//article/tt_newsa-title/*
Part of my realurl config:
'init' =>
array (
'enableCHashCache' => true,
'appendMissingSlash' => 'ifNotFile',
'adminJumpToBackend' => true,
'enableUrlDecodeCache' => true,
'enableUrlEncodeCache' => true,
'emptyUrlReturnValue' => '/',
),
'postVarSets' =>
array(
'artykul' =>
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]',
),
array(
'GETvar' => 'tx_ttnews[backPid]',
),
),
)
Could you please give me any advice or point me to different mailing list?
Thank you
Krzysztof
More information about the TYPO3-project-tt-news
mailing list