[TYPO3-english] News ( tx_news ) pagination double slash in list view
Arun Chandran
arunchandran2010 at gmail.com
Tue Sep 29 07:32:17 CEST 2015
Hi Guys,
I've a small doubt regarding the news pagination realurl configuration.
I've pagination in my news list view in one of my Typo3 6.2 installation.
But it produced double slashes in the url. I am using realurl extension to
rewrite the urls.
http://www.mydomain.com/news//page/2
I saw the comment of the author of this extension in typo3 forge for this
issue; "this is because tx_news_pi1[news] is not filled, so you need to
split list + detail". But unfortunately I failed to track this issue.
My realurl configuration like this;
'fixedPostVars' => array(
'_DEFAULT' => array (
array(
'GETvar' => 'tx_news_pi1[action]',
'noMatch' => 'bypass'
),
array(
'GETvar' => 'tx_news_pi1[controller]',
'noMatch' => 'bypass'
),
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' => '-'
),
'languageGetVar' => 'L',
'languageExceptionUids' => '',
'languageField' => 'sys_language_uid',
'transOrigPointerField' => 'l10n_parent',
'autoUpdate' => 1,
'expireDays' => 180,
)
)
),
),
'postVarSets' => array(
'_DEFAULT' => array (
'controller' => array(
array(
'GETvar' => 'tx_news_pi1[action]',
'noMatch' => 'bypass'
),
array(
'GETvar' => 'tx_news_pi1[controller]',
'noMatch' => 'bypass'
)
),
'dateFilter' => array(
array(
'GETvar' => 'tx_news_pi1[overwriteDemand][year]',
),
array(
'GETvar' => 'tx_news_pi1[overwriteDemand][month]',
),
),
'page' => array(
array(
'GETvar' => 'tx_news_pi1[@widget_0][currentPage]',
),
),
),
),
Please help me solve this issue.
Thanks & Regards,
Arun
More information about the TYPO3-english
mailing list