Skip to content

Commit

Permalink
Add inspiredminds/contao-event-image-override (#566)
Browse files Browse the repository at this point in the history
* add inspiredminds/contao-event-image-override

* update allowlist
  • Loading branch information
fritzmg authored Jun 4, 2024
1 parent a26e88f commit 315313e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions linter/allowlists/de.txt
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ etc
Event
Eventleser
Eventliste
Eventmoduls
Events
Expression
Extended
Expand Down
6 changes: 6 additions & 0 deletions meta/inspiredminds/contao-event-image-override/de.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
de:
title: Event Image Override
description: >
Ermöglicht die Bildgrößeneinstellung des Events die Bildgrößeneinstellung des Eventmoduls zu überschreiben.
Normalerweise benutzt Contao immer die Bildgrößeneinstellung des Eventmoduls, wenn definiert, und nur die Bildgrößeneinstellung des Events als Fallback. Mit dieser Extension wird die Logik umgedreht, also es wird die Bildgrößeneinstellung des Events verwendet, wenn das Teaser-Bild der Event ausgegeben wird.
6 changes: 6 additions & 0 deletions meta/inspiredminds/contao-event-image-override/en.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
en:
title: Event Image Override
description: >
Allows the image settings of each event in Contao to override the image settings of the event module.
Usually Contao overrides the teaser image size of the event with the image size of the event module, if defined. This extension reverses this logic, i.e. whenever an image size is defined in the event, that image size will be used when the teaser image is rendered.

0 comments on commit 315313e

Please sign in to comment.