Mit diesem Script passe ich den „Elemente Wizard“ („Neues Inhaltselement anlegen“) an und füge hier das „Datensatz einfügen“-Element hinzu.
Ausserdem beschränke ich die verfügbaren Elemente auf: Text, Text mit Bild, Nur Bild, Tabelle
# Show the content element wizard with tabs (for consistency)
mod.wizards.newContentElement.wizardItems.common.elements.shortcut {
icon = ../fileadmin/default/templates/images/shortcut.gif
title = Datensatz einfügen
description = "Datensatz einfügen"-Element
tt_content_defValues {
CType = shortcut
}
}
mod.wizards.newContentElement {
wizardItems.common.show := addToList(shortcut)
renderMode = tabs
wizardItems.common.show = text,textpic,image,table,shortcut
}
Hier noch ein GIF für die Shortcut Datei.