[TYPO3-dev] Re: PHP Based View without extra templates?
freetime coder
jdm90 at gmx.net
Tue Nov 19 20:00:47 CET 2013
Hi,
I finally found out what I had to do: I needed to define a custom typeNum via typoscript and made the page call my plugin functions, by putting this int the extension template setup of the page:
reportsExport = PAGE
reportsExport {
typeNum = 5000
config {
disableAllHeaderCode = 1
xhtml_cleaning = 0
admPanel = 0
debug = 0
no_cache = 1
}
}
reportsExport.10= USER
reportsExport.10 {
userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run
pluginName = myPlugin
extensionName = myextension
controller = Report
vendorName = myVendor
action = export
switchableControllerActions {
Report {
1 = export
}
}
view < plugin.tx_myextension.view
persistence < plugin.tx_myextension.persistence
settings < plugin.tx_myextension.settings
}
I found about this in this tutorial:
http://www.typo3-tutorials.org/cms/TYPO3-und-AJAX-Wie-geht-das.html
greetings
More information about the TYPO3-dev
mailing list