Created
March 10, 2023 11:26
-
-
Save joekolade/d5ee1d83fcff74f687e430210375d01b to your computer and use it in GitHub Desktop.
[Ajax page] Configure an ajax page in typoscipt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ajax_###myextension### = PAGE | |
| ajax_###myextension### { | |
| typeNum = 6661 | |
| typeNum = {$plugin.tx_###myextension###.settings.###ajaxpagetype###} | |
| config { | |
| disableAllHeaderCode = 1 | |
| xhtml_cleaning = 0 | |
| admPanel = 0 | |
| additionalHeaders = Content-type: text/plain | |
| no_cache = 1 | |
| } | |
| 10 = USER | |
| 10 { | |
| userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run | |
| extensionName = ###MyExtension### | |
| pluginName = ###list### | |
| vendorName = ###MYVENDOR### | |
| controller = ###Controller### | |
| switchableControllerActions { | |
| ###Controller### { | |
| 1 = ###action### | |
| } | |
| } | |
| view < plugin.tx_###myextension###.view | |
| persistence < plugin.tx_###myextension###.persistence | |
| settings < plugin.tx_###myextension###.settings | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment