Skip to content

Commit

Permalink
let module use new imagelist functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasKrais committed Aug 10, 2023
1 parent c51f856 commit 8f00f76
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion install.php
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@
12);
$modules[] = new D2UModule('03-2',
'Bildergalerie Ekko Lightbox',
12);
13);
$modules[] = new D2UModule('03-3',
'360° Bild',
1);
Expand Down
2 changes: 1 addition & 1 deletion lib/D2UModuleManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ public static function getModules()
12);
$modules[] = new D2UModule('03-2',
'Bildergalerie Ekko Lightbox',
12);
13);
$modules[] = new D2UModule('03-3',
'360° Bild',
1);
Expand Down
10 changes: 5 additions & 5 deletions modules/03/2/input.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,10 @@ function offset_changer(value) {
<div class="col-xs-12">&nbsp;</div>
</div>
<div class="row">
<div class="col-xs-4">
Bilder:
</div>
<div class="col-xs-8">
REX_MEDIALIST[id="1" types="jpg,png,webp" widget="1"]
<div class="col-xs-12">
<?php
$pics = explode(',', 'REX_MEDIALIST[1]');
d2u_addon_backend_helper::form_imagelistfield('d2u_helper_pictures', 1, is_array($pics) ? $pics : []);
?>
</div>
</div>
2 changes: 1 addition & 1 deletion package.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package: d2u_helper
version: '1.12.5'
version: '1.13.0'
author: Tobias Krais
supportpage: http://github.com/tobiaskrais/d2u_helper

Expand Down
5 changes: 3 additions & 2 deletions pages/help.changelog.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@
</div>
<header class="panel-heading"><div class="panel-title">D2U Helper Changelog</div></header>
<div class="panel-body">
<p>1.12.5</p>
<p>1.13.0</p>
<ul>
<li>Template 00-1 "Big Header Template": Fehler bei Darstellung des Headerbildes behoben.</li>
<li>Funktion d2u_addon_backend_helper::form_imagelistfield() hinzugefügt. Dieses und andere D2U Addons verwenden künftig dieses Feld um Bilderlistenfelder im Stil von MForm darzustellen.</li>
<li>Modul 03-2 "Bildergalerie Ekko Lightbox" nutzt neue Bilderliste Funktion.</li>
<li>Template 00-1 "Big Header Template": Fehler bei Darstellung des Headerbildes behoben.</li>
</ul>
<p>1.12.4</p>
<ul>
Expand Down
2 changes: 1 addition & 1 deletion plugins/translation_helper/package.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package: d2u_helper/translation_helper
version: '1.12.5'
version: '1.13.0'
author: Tobias Krais
supportpage: http://github.com/tobiaskrais/d2u_helper

Expand Down

0 comments on commit 8f00f76

Please sign in to comment.