Task #86914

make settings of RecordsXmlSitemapDataProvider stdWrappable

Added by Andreas Steiger almost 2 years ago. Updated 8 months ago.

Status:
Rejected
Priority:
Should have
Category:
SEO
Target version:
-
Start date:
2018-11-13
Due date:
% Done:

0%

TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

It would be nice to get more dynamic in the setting of RecordsXmlSitemapDataProvider. At the moment is it not possible to set dynamic detail pages by using TS only.
The idea is to make the settings stdWrappable and you can use configurations like this:

pageId.stdWrap.cObject = CONTENT
pageId.stdWrap.cObject {
table = sys_category
select {
# pid of category records
pidInList = 19
max = 1
selectFields = sys_category.single_pid AS detailPid
join = sys_category_record_mm ON sys_category_record_mm.uid_local = sys_category.uid
where = sys_category_record_mm.uid_foreign = { field: uid }
where.insertData = 1
andWhere.stdWrap.intVal = 1
andWhere.stdWrap.stripHtml = 1
}
renderObj = TEXT
renderObj.field = detailPid
renderObj.wrap = |
}

this is an example of linkhandler configuration.

History

#1 Updated by Wouter Wolters almost 2 years ago

  • Assignee deleted (Richard Haeser)

#2 Updated by Richard Haeser almost 2 years ago

  • Status changed from New to In Progress
  • Assignee set to Richard Haeser

#3 Updated by Gerrit Code Review 11 months ago

  • Status changed from In Progress to Under Review

Patch set 2 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62548

#4 Updated by Richard Haeser 11 months ago

  • Status changed from Under Review to New

#5 Updated by Georg Ringer 8 months ago

  • Status changed from New to Rejected

Thanks for creating the issue.

Instead of having more magic you should use a custom Provider which does what you need. therefore I am closing this issue.

Also available in: Atom PDF