cmb wrote:Ohne den Quellcode der entsprechenden Version kann ich nur raten:
lb_gallery Version 1.7beta2 (Kann ich dir gerne zuschicken, wenn Holger nichts dagegen hat)
lb_Gallery-Demo wrote:Galerie 2
... hat eine veränderte Konfiguration. Derzeit ist das nur "manuell" machbar, indem man eine angepasste Kopie der config.php (und evtl. der stylesheet.css) in den Galerieordner kopiert.
Das Plugin überschreibt dann die Standardkonfiguration mit den Werten aus den kopierten Dateien.
Fehler meinerseits, ich hatte die individuelle Konfig-Datei nicht als config.php im Galerie-Ordner test angelegt, sondern als test.php
Also Plugin-Aufruf:
Code: Select all
<div>{{{lb_gallery('test');}}}</div>
Beim Anzeigen der Galerie hagelt es dann Fehlermeldungen
NOTICE: Indirect modification of overloaded element of XH\PluginConfig has no effect
D:\xampp\htdocs\cmsimplexh171\userfiles\images\lb_gallery\galerie2\config.php:3
NOTICE: Indirect modification of overloaded element of XH\PluginConfig has no effect
D:\xampp\htdocs\cmsimplexh171\userfiles\images\lb_gallery\galerie2\config.php:4
NOTICE: Indirect modification of overloaded element of XH\PluginConfig has no effect
D:\xampp\htdocs\cmsimplexh171\userfiles\images\lb_gallery\galerie2\config.php:5
NOTICE: Indirect modification of overloaded element of XH\PluginConfig has no effect
D:\xampp\htdocs\cmsimplexh171\userfiles\images\lb_gallery\galerie2\config.php:6
NOTICE: Indirect modification of overloaded element of XH\PluginConfig has no effect
D:\xampp\htdocs\cmsimplexh171\userfiles\images\lb_gallery\galerie2\config.php:7
NOTICE: Indirect modification of overloaded element of XH\PluginConfig has no effect
D:\xampp\htdocs\cmsimplexh171\userfiles\images\lb_gallery\galerie2\config.php:8
NOTICE: Indirect modification of overloaded element of XH\PluginConfig has no effect
D:\xampp\htdocs\cmsimplexh171\userfiles\images\lb_gallery\galerie2\config.php:9
NOTICE: Indirect modification of overloaded element of XH\PluginConfig has no effect
D:\xampp\htdocs\cmsimplexh171\userfiles\images\lb_gallery\galerie2\config.php:10
NOTICE: Indirect modification of overloaded element of XH\PluginConfig has no effect
D:\xampp\htdocs\cmsimplexh171\userfiles\images\lb_gallery\galerie2\config.php:11
NOTICE: Indirect modification of overloaded element of XH\PluginConfig has no effect
D:\xampp\htdocs\cmsimplexh171\userfiles\images\lb_gallery\galerie2\config.php:12
NOTICE: Indirect modification of overloaded element of XH\PluginConfig has no effect
D:\xampp\htdocs\cmsimplexh171\userfiles\images\lb_gallery\galerie2\config.php:13
NOTICE: Indirect modification of overloaded element of XH\PluginConfig has no effect
D:\xampp\htdocs\cmsimplexh171\userfiles\images\lb_gallery\galerie2\config.php:14
NOTICE: Indirect modification of overloaded element of XH\PluginConfig has no effect
D:\xampp\htdocs\cmsimplexh171\userfiles\images\lb_gallery\galerie2\config.php:15
NOTICE: Indirect modification of overloaded element of XH\PluginConfig has no effect
D:\xampp\htdocs\cmsimplexh171\userfiles\images\lb_gallery\galerie2\config.php:16
NOTICE: Indirect modification of overloaded element of XH\PluginConfig has no effect
D:\xampp\htdocs\cmsimplexh171\userfiles\images\lb_gallery\galerie2\config.php:17
NOTICE: Indirect modification of overloaded element of XH\PluginConfig has no effect
D:\xampp\htdocs\cmsimplexh171\userfiles\images\lb_gallery\galerie2\config.php:18
NOTICE: Indirect modification of overloaded element of XH\PluginConfig has no effect
D:\xampp\htdocs\cmsimplexh171\userfiles\images\lb_gallery\galerie2\config.php:19
NOTICE: Indirect modification of overloaded element of XH\PluginConfig has no effect
D:\xampp\htdocs\cmsimplexh171\userfiles\images\lb_gallery\galerie2\config.php:20
NOTICE: Indirect modification of overloaded element of XH\PluginConfig has no effect
D:\xampp\htdocs\cmsimplexh171\userfiles\images\lb_gallery\galerie2\config.php:21
NOTICE: Indirect modification of overloaded element of XH\PluginConfig has no effect
D:\xampp\htdocs\cmsimplexh171\userfiles\images\lb_gallery\galerie2\config.php:22
NOTICE: Indirect modification of overloaded element of XH\PluginConfig has no effect
D:\xampp\htdocs\cmsimplexh171\userfiles\images\lb_gallery\galerie2\config.php:23
NOTICE: Indirect modification of overloaded element of XH\PluginConfig has no effect
D:\xampp\htdocs\cmsimplexh171\userfiles\images\lb_gallery\galerie2\config.php:24
NOTICE: Indirect modification of overloaded element of XH\PluginConfig has no effect
D:\xampp\htdocs\cmsimplexh171\userfiles\images\lb_gallery\galerie2\config.php:25
NOTICE: Indirect modification of overloaded element of XH\PluginConfig has no effect
D:\xampp\htdocs\cmsimplexh171\userfiles\images\lb_gallery\galerie2\config.php:26
NOTICE: Indirect modification of overloaded element of XH\PluginConfig has no effect
D:\xampp\htdocs\cmsimplexh171\userfiles\images\lb_gallery\galerie2\config.php:27
NOTICE: Indirect modification of overloaded element of XH\PluginConfig has no effect
D:\xampp\htdocs\cmsimplexh171\userfiles\images\lb_gallery\galerie2\config.php:28
NOTICE: Indirect modification of overloaded element of XH\PluginConfig has no effect
D:\xampp\htdocs\cmsimplexh171\userfiles\images\lb_gallery\galerie2\config.php:29
NOTICE: Indirect modification of overloaded element of XH\PluginConfig has no effect
D:\xampp\htdocs\cmsimplexh171\userfiles\images\lb_gallery\galerie2\config.php:30
NOTICE: Indirect modification of overloaded element of XH\PluginConfig has no effect
D:\xampp\htdocs\cmsimplexh171\userfiles\images\lb_gallery\galerie2\config.php:31
NOTICE: Indirect modification of overloaded element of XH\PluginConfig has no effect
D:\xampp\htdocs\cmsimplexh171\userfiles\images\lb_gallery\galerie2\config.php:32
NOTICE: Indirect modification of overloaded element of XH\PluginConfig has no effect
D:\xampp\htdocs\cmsimplexh171\userfiles\images\lb_gallery\galerie2\config.php:33
NOTICE: Indirect modification of overloaded element of XH\PluginConfig has no effect
D:\xampp\htdocs\cmsimplexh171\userfiles\images\lb_gallery\galerie2\config.php:34
NOTICE: Indirect modification of overloaded element of XH\PluginConfig has no effect
D:\xampp\htdocs\cmsimplexh171\userfiles\images\lb_gallery\galerie2\config.php:35
NOTICE: Indirect modification of overloaded element of XH\PluginConfig has no effect
D:\xampp\htdocs\cmsimplexh171\userfiles\images\lb_gallery\galerie2\config.php:36
NOTICE: Indirect modification of overloaded element of XH\PluginConfig has no effect
D:\xampp\htdocs\cmsimplexh171\userfiles\images\lb_gallery\galerie2\config.php:37
NOTICE: Indirect modification of overloaded element of XH\PluginConfig has no effect
D:\xampp\htdocs\cmsimplexh171\userfiles\images\lb_gallery\galerie2\config.php:38
NOTICE: Indirect modification of overloaded element of XH\PluginConfig has no effect
D:\xampp\htdocs\cmsimplexh171\userfiles\images\lb_gallery\galerie2\config.php:39
NOTICE: Indirect modification of overloaded element of XH\PluginConfig has no effect
D:\xampp\htdocs\cmsimplexh171\userfiles\images\lb_gallery\galerie2\config.php:40
NOTICE: Indirect modification of overloaded element of XH\PluginConfig has no effect
D:\xampp\htdocs\cmsimplexh171\userfiles\images\lb_gallery\galerie2\config.php:41
NOTICE: Indirect modification of overloaded element of XH\PluginConfig has no effect
D:\xampp\htdocs\cmsimplexh171\userfiles\images\lb_gallery\galerie2\config.php:42
NOTICE: Indirect modification of overloaded element of XH\PluginConfig has no effect
D:\xampp\htdocs\cmsimplexh171\userfiles\images\lb_gallery\galerie2\config.php:43
NOTICE: Indirect modification of overloaded element of XH\PluginConfig has no effect
D:\xampp\htdocs\cmsimplexh171\userfiles\images\lb_gallery\galerie2\config.php:44
NOTICE: Indirect modification of overloaded element of XH\PluginConfig has no effect
D:\xampp\htdocs\cmsimplexh171\userfiles\images\lb_gallery\galerie2\config.php:45
NOTICE: Indirect modification of overloaded element of XH\PluginConfig has no effect
D:\xampp\htdocs\cmsimplexh171\userfiles\images\lb_gallery\galerie2\config.php:46
NOTICE: Indirect modification of overloaded element of XH\PluginConfig has no effect
D:\xampp\htdocs\cmsimplexh171\userfiles\images\lb_gallery\galerie2\config.php:47
NOTICE: Indirect modification of overloaded element of XH\PluginConfig has no effect
D:\xampp\htdocs\cmsimplexh171\userfiles\images\lb_gallery\galerie2\config.php:48
NOTICE: Indirect modification of overloaded element of XH\PluginConfig has no effect
D:\xampp\htdocs\cmsimplexh171\userfiles\images\lb_gallery\galerie2\config.php:49
NOTICE: Indirect modification of overloaded element of XH\PluginConfig has no effect
D:\xampp\htdocs\cmsimplexh171\userfiles\images\lb_gallery\galerie2\config.php:50
NOTICE: Indirect modification of overloaded element of XH\PluginConfig has no effect
D:\xampp\htdocs\cmsimplexh171\userfiles\images\lb_gallery\galerie2\config.php:51
NOTICE: Indirect modification of overloaded element of XH\PluginConfig has no effect
D:\xampp\htdocs\cmsimplexh171\userfiles\images\lb_gallery\galerie2\config.php:52
NOTICE: Indirect modification of overloaded element of XH\PluginConfig has no effect
D:\xampp\htdocs\cmsimplexh171\userfiles\images\lb_gallery\galerie2\config.php:53
NOTICE: Indirect modification of overloaded element of XH\PluginConfig has no effect
D:\xampp\htdocs\cmsimplexh171\userfiles\images\lb_gallery\galerie2\config.php:54
NOTICE: Indirect modification of overloaded element of XH\PluginConfig has no effect
D:\xampp\htdocs\cmsimplexh171\userfiles\images\lb_gallery\galerie2\config.php:55
NOTICE: Indirect modification of overloaded element of XH\PluginConfig has no effect
D:\xampp\htdocs\cmsimplexh171\userfiles\images\lb_gallery\galerie2\config.php:56
NOTICE: Indirect modification of overloaded element of XH\PluginConfig has no effect
D:\xampp\htdocs\cmsimplexh171\userfiles\images\lb_gallery\galerie2\config.php:57
NOTICE: Indirect modification of overloaded element of XH\PluginConfig has no effect
D:\xampp\htdocs\cmsimplexh171\userfiles\images\lb_gallery\galerie2\config.php:58
NOTICE: Indirect modification of overloaded element of XH\PluginConfig has no effect
D:\xampp\htdocs\cmsimplexh171\userfiles\images\lb_gallery\galerie2\config.php:59
NOTICE: Indirect modification of overloaded element of XH\PluginConfig has no effect
D:\xampp\htdocs\cmsimplexh171\userfiles\images\lb_gallery\galerie2\config.php:60
NOTICE: Indirect modification of overloaded element of XH\PluginConfig has no effect
D:\xampp\htdocs\cmsimplexh171\userfiles\images\lb_gallery\galerie2\config.php:61
NOTICE: Indirect modification of overloaded element of XH\PluginConfig has no effect
D:\xampp\htdocs\cmsimplexh171\userfiles\images\lb_gallery\galerie2\config.php:62
NOTICE: Indirect modification of overloaded element of XH\PluginConfig has no effect
D:\xampp\htdocs\cmsimplexh171\userfiles\images\lb_gallery\galerie2\config.php:63
NOTICE: Undefined offset: 1
D:\xampp\htdocs\cmsimplexh171\plugins\gallery\index.php:261
NOTICE: Undefined offset: 2
D:\xampp\htdocs\cmsimplexh171\plugins\gallery\index.php:261
Und das mit dem Delimiter ist auch komisch, im Backend ist § eingetragen und in der config.php steht dann
Code: Select all
$plugin_cf['gallery']['delimiter']="ยง";
charset ist UTF-8 eingetragen.
Code: Select all
$plugin_cf['gallery']['comment_charset']="UTF-8";
Löscht man in der Backend-Konfiguration den Delimiter § und tippt man es wieder ein, so verschwinden auch die "Undefined offset" -Meldungen, eventuell allein schon durch das speichern.
cmb wrote:(könnte sein, dass eine Leerzeile am Ende die Notices auslöst)
Nein, scheint nicht so.