Add shortcut element to not repeat recurring content
E.g. menus of a blog post series can now be referenced.
This commit is contained in:
parent
d5b068d9ff
commit
c56e57e765
2 changed files with 11 additions and 2 deletions
|
@ -15,7 +15,7 @@ mod.wizards.newContentElement.wizardItems {
|
||||||
show = menu_abstract, menu_pages, menu_subpages
|
show = menu_abstract, menu_pages, menu_subpages
|
||||||
}
|
}
|
||||||
special {
|
special {
|
||||||
show =
|
show = shortcut
|
||||||
}
|
}
|
||||||
forms {
|
forms {
|
||||||
show =
|
show =
|
||||||
|
@ -26,6 +26,6 @@ mod.wizards.newContentElement.wizardItems {
|
||||||
}
|
}
|
||||||
TCEFORM.tt_content {
|
TCEFORM.tt_content {
|
||||||
CType {
|
CType {
|
||||||
keepItems := addToList(text, image, video, menu_abstract, menu_pages, menu_subpages)
|
keepItems := addToList(text, image, video, menu_abstract, menu_pages, menu_subpages, shortcut)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
tt_content.shortcut = RECORDS
|
||||||
|
tt_content.shortcut {
|
||||||
|
source.field = records
|
||||||
|
tables = tt_content
|
||||||
|
|
||||||
|
stdWrap {
|
||||||
|
editIcons := appendString(records)
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue