Skip to content

Instantly share code, notes, and snippets.

@sorenmalling
Created December 13, 2012 17:56
Show Gist options
  • Save sorenmalling/4278295 to your computer and use it in GitHub Desktop.
Save sorenmalling/4278295 to your computer and use it in GitHub Desktop.
TYPO3 Neos Plugin
# 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);
}
});
# 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"
]
}
}
}
}
}
# 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