Last active
May 8, 2019 08:43
-
-
Save alrnz/dadb118a4fb65916781e to your computer and use it in GitHub Desktop.
Create new pagetype in TYPO3 with typenum 666 #TYPO3 #TypoScript
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
##### TYPOSCRIPT insert a plugin via typoscript / get result of conroller | |
tx_sz_catseach_ajax = PAGE | |
tx_sz_catseach_ajax { | |
typeNum = 666 | |
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 = SzCatsearch | |
pluginName = Szcatsearchfields | |
vendorName = Sunzinet | |
# controller = Category | |
# action = ajax | |
switchableControllerActions { | |
# Controller without "Controller" (TestController -> Test) | |
Category { | |
# Action without "Action" (ShowAction -> show) | |
1 = ajax | |
} | |
} | |
#view < plugin.tx_szcatsearch.view | |
#persistence < plugin.tx_szcatsearch.persistence | |
#settings < plugin.tx_szcatsearch.settings | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
plugin.tx_Extensioname.mvc.callDefaultActionIfActionCantBeResolved = 1
plugin.tx_Extensionname.features.skipDefaultArguments = 1
Um zu verhindern, dass man über die Url die Action umstellen kann.