Skip to content

Commit

Permalink
feat: remove specific cta element
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdmlln committed Jan 24, 2024
1 parent 5ffee88 commit 7f940d9
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 127 deletions.
27 changes: 0 additions & 27 deletions Configuration/FlexForms/CallToAction.xml

This file was deleted.

43 changes: 0 additions & 43 deletions Configuration/TCA/Overrides/tt_content_call_to_action.php

This file was deleted.

14 changes: 5 additions & 9 deletions Configuration/TSConfig/Page/WizardItems.tsconfig
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ mod.wizards.newContentElement.wizardItems {
CType = footer_content
}
},
// Element already exsists, only modify title and description
image {
title = LLL:EXT:rmnd_headless/Resources/Private/Language/locallang_ce.xlf:image.title
description = LLL:EXT:rmnd_headless/Resources/Private/Language/locallang_ce.xlf:image.description
Expand All @@ -36,16 +37,11 @@ mod.wizards.newContentElement.wizardItems {
tt_content_defValues {
CType = tabs
}
},
call_to_action {
iconIdentifier = actions-exclamation
title = LLL:EXT:rmnd_headless/Resources/Private/Language/locallang_ce.xlf:call_to_action.title
description = LLL:EXT:rmnd_headless/Resources/Private/Language/locallang_ce.xlf:call_to_action.description
tt_content_defValues {
CType = call_to_action
}
}
}
show := addToList(accordion, footer_content, image_gallery, tabs, call_to_action)
show := addToList(accordion)
show := addToList(footer_content)
show := addToList(image_gallery)
show := addToList(tabs)
}
}
18 changes: 0 additions & 18 deletions Configuration/TypoScript/ContentElement/CallToAction.typoscript

This file was deleted.

15 changes: 0 additions & 15 deletions Resources/Private/Language/de.locallang_ce.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -48,21 +48,6 @@
<trans-unit id="tabs.columns.title">
<target>Tab Titel</target>
</trans-unit>
<trans-unit id="call_to_action.title">
<target>Call-to-action Element</target>
</trans-unit>
<trans-unit id="call_to_action.description">
<target>Enthält Text und Verlinkung</target>
</trans-unit>
<trans-unit id="call_to_action.text">
<target>Text</target>
</trans-unit>
<trans-unit id="call_to_action.link">
<target>Link</target>
</trans-unit>
<trans-unit id="call_to_action.link_label">
<target>Link Titel</target>
</trans-unit>
</body>
</file>
</xliff>
15 changes: 0 additions & 15 deletions Resources/Private/Language/locallang_ce.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -48,21 +48,6 @@
<trans-unit id="tabs.columns.title">
<source>Tab Title</source>
</trans-unit>
<trans-unit id="call_to_action.title">
<source>Call-to-action element</source>
</trans-unit>
<trans-unit id="call_to_action.description">
<source>Containing text and link</source>
</trans-unit>
<trans-unit id="call_to_action.text">
<source>Text</source>
</trans-unit>
<trans-unit id="call_to_action.link">
<source>Link</source>
</trans-unit>
<trans-unit id="call_to_action.link_label">
<source>Link label</source>
</trans-unit>
</body>
</file>
</xliff>

0 comments on commit 7f940d9

Please sign in to comment.