[TYPO3-german] News System mit RealURL funktioniert nicht mehr
bernd wilke
t3ng at bernd-wilke.net
Fri Jun 13 09:23:50 CEST 2014
Am 13.06.14 09:06, schrieb Alexander Averbukh:
> @Jörg Paßmann
> ja, ganz sicher, denn ich habe sie selbst für eine andere Website gemacht.
>
> @Bernd
> es gibt keine spezifischen IDs.
>
> 'news' => array(
> array(
> 'GETvar' => 'tx_news_pi1[news]',
> 'lookUpTable' => array(
> 'table' => 'tx_news_domain_model_news',
> 'id_field' => 'uid',
> 'alias_field' => "title",
> 'addWhereClause' => ' AND deleted!=1',
> 'useUniqueCache' => 1,
> 'useUniqueCache_conf' => array(
> 'strtolower' => 1,
> 'spaceCharacter' => '-'
> ),
> 'autoUpdate' => 1,
> 'expireDays' => '30',
> 'languageGetVar' => 'L',
> 'languageExceptionUids' => '',
> 'languageField' => 'sys_language_uid',
> 'transOrigPointerField' => 'l10n_parent'
> )
> ),
>
> array(
> 'GETvar' => 'tx_news_pi1[backPid]'
> ),
> array(
> 'GETvar' => 'tx_news_pi1[swords]'
> )
> ),
differs with mine, where I use an ID (783):
// EXT:news start
'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]',
//'noMatch' => 'bypass'
),
),
),
),
'fixedPostVars' => array(
'newsDetailConfiguration' => array(
array(
'GETvar' => 'tx_news_pi1[news]',
'lookUpTable' => array(
'table' => 'tx_news_domain_model_news',
'id_field' => 'uid',
'alias_field' => "concat(uid,'_',title)",
'maxLength' => 40,
'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,
),
),
),
'783' => 'newsDetailConfiguration',
),
// EXT:news end
bernd
--
http://www.pi-phi.de/cheatsheet.html
More information about the TYPO3-german
mailing list