You are not logged in.

[WBB 3.1.x] options.xml Galerie

  • "[FFW] Patric" is male
  • "[FFW] Patric" started this thread

Posts: 758

Location: Rheinland Pfalz (Westerwald)

Occupation: Fachinformatiker (Systemintegration)

  • Send private message

1

Tuesday, July 3rd 2012, 10:52pm

options.xml Galerie

Hallo,

ich versuche die Optionen meines Plugins unter System -> Optionen -> Mitglieder -> Profile -> Persönliche Galerie anzeigen zu lassen.

Das mache ich mit dieser XML:

XML

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?xml version="1.0" encoding="UTF-8"?>
<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/options.xsd">
	<import>
		<categories>
			<category name="user.profile.gallery">
				<parent>user.profile</parent>
			</category>
		</categories>		
		<options>
			<option name="is_gallery_upload_message_enable">
				<categoryname>user.profile.gallery</categoryname>
				<optiontype>boolean</optiontype>
				<defaultvalue>0</defaultvalue>
				<options>module_user_gallery</options>
				<showorder>10</showorder>
				<enableoptions>gallery_upload_message_type,gallery_upload_message_message</enableoptions>
			</option>
			<option name="gallery_upload_message_type">
				<categoryname>user.profile.gallery</categoryname>
				<optiontype>select</optiontype>
				<selectoptions>info:wcf.acp.option.GalleryUploadMessageType.TypeInfo
success:wcf.acp.option.GalleryUploadMessageType.TypeSuccess
warning:wcf.acp.option.GalleryUploadMessageType.TypeWarning
error:wcf.acp.option.GalleryUploadMessageType.TypeError</selectoptions>
				<defaultvalue>info</defaultvalue>
				<options>module_user_gallery</options>
				<showorder>11</showorder>
			</option>
			<option name="gallery_upload_message_message">
				<categoryname>user.profile.gallery</categoryname>
				<optiontype>textarea</optiontype>
				<defaultvalue><![CDATA[Dieser Text dient nur zur Demontration und kann im Administrationsbereich geändert werden.]]></defaultvalue>
				<options>module_user_gallery</options>
				<showorder>12</showorder>
			</option>
		</options>
	</import>
</data>


Leider wird mir nichts angezeigt? (Ja die Sprachvariablen sind fehlerhaft. Das wird dann später behoben...)
Mit freundlichen Grüßen
[FFW] Patric

2

Tuesday, July 3rd 2012, 11:31pm

Wenn ich mir ein Dummy-Plugin erstelle, das nur diese options.xml integriert, funktioniert das bei mir wunderbar. ;)
Mit freundlichen Grüßen
Best regards
KittBlog Stile - Ihr Kit für Stile, Software und Knowhow
Your kit for styles, software and knowhow
Erste Linkliste zu Erweiterungen und Support rund um Burning Board©
First linklist for plugins and support around Burning Board©

Alexander Ebert

WoltLab Developer

  • "Alexander Ebert" is male

Posts: 4,738

Location: Berlin

  • Send private message

3

Tuesday, July 3rd 2012, 11:39pm

Ich tippe mal darauf, dass deine Abhängigkeiten nicht stimmen …
Alexander Ebert
Developer WoltLab® GmbH


  • "[FFW] Patric" is male
  • "[FFW] Patric" started this thread

Posts: 758

Location: Rheinland Pfalz (Westerwald)

Occupation: Fachinformatiker (Systemintegration)

  • Send private message

4

Wednesday, July 4th 2012, 12:01am

Danke, das war das Problem. im plugin-Tag muss auch com.woltlab.wcfpage.user.profile stehen.
Mit freundlichen Grüßen
[FFW] Patric