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

sys_category_record_mm #19

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

studiokaloa
Copy link

@studiokaloa studiokaloa commented Nov 6, 2018

If using the sys_category_record_mm table, "uid_foreign" and "uid_local" must be inverted and the matching of the tablename and fieldname must be checked.

Usage :

news {
   # uid is NECESSARY in the sqlSelect field
   sqlMainTable = tx_news_domain_model_news

   # if catList depends of column of sqlMainTable (Column name like city or country)
   sqlCatColumn = categories
	
   # if catList depends on sqlMMTable (Only works if uid_foreign and uid_local is in use)
   sqlMMTable = sys_category_record_mm
	
   # order of the XML output
   sqlOrder = datetime DESC
	
	# last modified timestamp column (inside of sqlMainTable)
	sqlLastUpdated = tstamp
	
   # sql column of the title
   sqlTitle = title`
   
   # sql column of keywords
	sqlKeywords = keywords

   # frequency
  frequency =

  # typolink additionalParam (must belong to the uid of the sqlMainTable)
  linkParams = tx_news_pi1[news]

  # csv Pid's of the stored elements. Rootline is not checked with this setting
  pidList = 1,2,3

	# detail page id where the link should point at
	singlePid = 15
	
	# filter by category which is inside of the main table -> sqlCatColumn
	catList =
	
	# csv filter by mm related table -> sqlMMTable
	catMMList = 3
	
	# disable the language check through GLOBALS['TSFE']->sys_language_uid
	disableLanguageCheck = 0
}

If using the sys_category_record_mm table, "uid_foreign" and "uid_local" must be inverted and the matching of the tablename and fieldname must be checked.

Usage : 
news {
   # uid is NECESSARY in the sqlSelect field
   sqlMainTable = tx_news_domain_model_news
   
   # if catList depends of column of sqlMainTable (Column name like city or country)
   sqlCatColumn = categories
		
   # if catList depends on sqlMMTable (Only works if uid_foreign and uid_local is in use)
   sqlMMTable = sys_category_record_mm
		
   # order of the XML output
   sqlOrder = datetime DESC
		
   # last modified timestamp column (inside of sqlMainTable)
   sqlLastUpdated = tstamp
		
   # sql column of the title
   sqlTitle = title

  # sql column of keywords
  sqlKeywords = keywords

   # frequency
   frequency =

   # typolink additionalParam (must belong to the uid of the sqlMainTable)
   linkParams = tx_news_pi1[news]

   # csv Pid's of the stored elements. Rootline is not checked with this setting
   pidList = 1,2,3

    # detail page id where the link should point at
    singlePid = 15

   # filter by category which is inside of the main table -> sqlCatColumn
   catList =

   # csv filter by mm related table -> sqlMMTable
   catMMList = 3

   # disable the language check through GLOBALS['TSFE']->sys_language_uid
   disableLanguageCheck = 0
}
Forget to remote a debug trace
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

Successfully merging this pull request may close these issues.

1 participant