Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem 'news' category with 'realurl' #7

Closed
typo3ua opened this issue Jul 24, 2014 · 1 comment
Closed

Problem 'news' category with 'realurl' #7

typo3ua opened this issue Jul 24, 2014 · 1 comment

Comments

@typo3ua
Copy link

typo3ua commented Jul 24, 2014

I have problem output title of category in URL.

Category:

  • Title 1
  • Title 2

Writed:

'cat' => array(
array(
'GETvar' => 'tx_news_pi1[overwriteDemand][categories]',
'lookUpTable' => array(
'table' => 'tx_news_domain_model_category',
'id_field' => 'uid',
'alias_field' => 'coalesce(NULLIF(description, ""), title)',
//'alias_field' => 'title',
'addWhereClause' => ' AND NOT deleted',
'useUniqueCache' => 1,
'useUniqueCache_conf' => array(
'strtolower' => 1,
'spaceCharacter' => '-',
),
),
),
)

Output:

'/cat/Title 1/' - wrong

... correctly - '/cat/title-1/'

Need your help.

@typo3ua
Copy link
Author

typo3ua commented Jul 25, 2014

Solution:

'table' => 'sys_category',

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants