Add dedicated page types for exports to avoid caching issues
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
xmlExport = PAGE
|
||||
xmlExport {
|
||||
typeNum = 1972
|
||||
config {
|
||||
xhtml_cleaning = none
|
||||
no_cache = 1
|
||||
disableAllHeaderCode = 1
|
||||
additionalHeaders = Content-Type: text/xml; charset=utf-8
|
||||
simulateStaticDocuments = 0
|
||||
admPanel = 0
|
||||
debug = 0
|
||||
tx_realurl_enable = 1
|
||||
}
|
||||
10 = USER
|
||||
10 {
|
||||
userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run
|
||||
extensionName = EpProducts
|
||||
pluginName = reseller
|
||||
vendorName = EP
|
||||
switchableControllerActions {
|
||||
Reseller {
|
||||
1 = xml
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
excelExport < xmlExport
|
||||
excelExport.typeNum = 1984
|
||||
excelExport.config.additionalHeaders = Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
|
||||
excelExport.10.switchableControllerActions.Reseller.1 = excel
|
||||
@@ -94,6 +94,7 @@ lib.stdheader.3.headerClass >
|
||||
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:ep_theme/Configuration/TypoScript/Page/Main.ts">
|
||||
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:ep_theme/Configuration/TypoScript/Page/Ajax.ts">
|
||||
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:ep_theme/Configuration/TypoScript/Page/XMLSitemap.ts">
|
||||
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:ep_theme/Configuration/TypoScript/Page/Export.ts">
|
||||
|
||||
config {
|
||||
doctype = html5
|
||||
|
||||
Reference in New Issue
Block a user