Would be nice if it was possible replace the "Create new content" button with links to the defined allowed CTypes.
For example:
allowed {
CType = text
createButtons = true
}
Then instead of the "Create new content" buttons which open new content element wizard, it is replace by:
"Create element: Regular Text Element"
I think this should be possible by overriding:
EXT:backend/Resources/Private/Partials/PageLayout/ActionControls.html
And adding af link like this:
<be:link.newRecord table="tt_content" defaultValues="{tt_content: {CType: 'text', colPos: item.record.colPos}}" uid="-{item.record.uid}">Create element: {ctype.name}</be:link.newRecord>
This would require a custom viewHelper to know when to display these buttons instead.
Would be nice if it was possible replace the "Create new content" button with links to the defined allowed CTypes.
For example:
Then instead of the "Create new content" buttons which open new content element wizard, it is replace by:
"Create element: Regular Text Element"
I think this should be possible by overriding:
EXT:backend/Resources/Private/Partials/PageLayout/ActionControls.html
And adding af link like this:
This would require a custom viewHelper to know when to display these buttons instead.