-
-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add inspiredminds/contao-event-image-override (#566)
* add inspiredminds/contao-event-image-override * update allowlist
- Loading branch information
Showing
3 changed files
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -228,6 +228,7 @@ etc | |
Event | ||
Eventleser | ||
Eventliste | ||
Eventmoduls | ||
Events | ||
Expression | ||
Extended | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |