Created
December 13, 2012 17:56
-
-
Save sorenmalling/4278295 to your computer and use it in GitHub Desktop.
TYPO3 Neos Plugin
This file contains 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
# Editors.js | |
T3.Content.UI.Editor.Plugin = T3.Content.UI.Editor.Selectbox.extend({ | |
options: [], | |
init: function() { | |
var that = this; | |
if(!T3.Configuration.Plugins) return []; | |
// console.log(T3.Configuration); | |
} | |
}); | |
This file contains 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
# Plugins schema | |
{ | |
"TYPO3.Blog:BlogPlugin": { | |
"pluginViews": { | |
"PostDetails": { | |
"controllerActions": { | |
"CommentController": [ | |
"create", | |
"delete" | |
], | |
"PostController": [ | |
"show" | |
] | |
} | |
}, | |
"PostList": { | |
"controllerActions": { | |
"PostController": [ | |
"index" | |
] | |
} | |
} | |
} | |
}, | |
"TYPO3.NeosDemoTypo3Org:Registration": { | |
"pluginViews": { | |
"New Account form": { | |
"controllerActions": { | |
"RegistrationController": [ | |
"newAccount" | |
] | |
} | |
} | |
} | |
} | |
} |
This file contains 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
# Settings.yaml | |
TYPO3: | |
Neos: | |
userInterface: | |
'TYPO3\Neos\Domain\Model\PluginConfiguration': | |
class: T3.Content.UI.Editor.Plugin | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment