Wiki-Quellcode von Institutionsportlet

Version 189.1 von Carina Enke am 22.05.2019

Zeige letzte Bearbeiter
1 {{sv-translation language="de"}}
2 {{layout}}
3 {{layout-section ac:type="single"}}
4 {{layout-cell}}
5 \\
6 {{/layout-cell}}
7 {{/layout-section}}
8
9 {{layout-section ac:type="single"}}
10 {{layout-cell}}
11 Verwalter einer Institution sowie Systemadministratoren können den Inhalt des Portlets //**Meine Institution** //individuell gestalten.
12
13 {{expand title="Institutionsportlet bearbeiten ..."}}
14 Um den Inhalt des Portlets für Ihre Institution zu bearbeiten, gehen Sie wie folgt vor:
15
16 |(% class="numberingColumn" %)(% class="numberingColumn" %)
17 (((
18 1
19 )))|(((
20 Öffnen Sie die Startseite Ihrer Plattform. Klicken Sie im betreffenden Portlet //**Meine Institution** //das Rädchen-Icon in der rechten oberen Ecke des Portlets, um das Konfigurationsmenü zu öffnen.
21 )))|(% rowspan="2" %)(% rowspan="2" %)
22 (((
23 [[image:attach:Startseite-Institutionsportlet konfigurieren_de.png]]
24 )))
25 |(% class="numberingColumn" colspan="1" %)(% class="numberingColumn" colspan="1" %)
26 (((
27 2
28 )))|(% colspan="1" %)(% colspan="1" %)
29 (((
30 Wählen Sie den Eintrag //**Bearbeiten**//.
31 )))
32 |(% class="numberingColumn" %)(% class="numberingColumn" %)
33 (((
34 3
35 )))|(((
36 (% style="color: rgb(0, 0, 0); color: rgb(0, 0, 0)" %)Es öffnet sich der [[Texteditor >>doc:Texteditor]]und Sie können den Inhalt des Portlets nach Ihren Vorstellungen gestalten.
37
38 {{expand title="Bilder einbinden ..."}}
39 (% style="color: rgb(0, 0, 0); color: rgb(0, 0, 0)" %)Unterhalb des Texteditors ist der Inhalt des Ressourcenordners zum Portlet zu sehen. Dieser bietet die Möglichkeit hinterlegte Inhalte wie Bilder oder Videos zu verwalten. Neben dem Löschen und Hinzufügen von Ressourcen, können diese auch umbenannt werden. Dazu werden entsprechende Schaltflächen über der Tabelle aktiv, sobald eine Ressource per Checkbox gewählt wird.
40 {{/expand}}
41 )))|(% rowspan="2" %)(% rowspan="2" %)
42 (((
43 [[image:attach:Startseite-Institutionsportlet editieren_de.png]]\\
44 )))
45 |(% class="numberingColumn" colspan="1" %)(% class="numberingColumn" colspan="1" %)
46 (((
47 4
48 )))|(% colspan="1" %)(% colspan="1" %)
49 (((
50 Bestätigen Sie Ihre Änderungen mit Klick auf den Button //**Speichern**//.
51 )))
52 {{/expand}}
53
54 {{expand title="Inhalte im Institutionsportlet abhängig von Nutzerattributen einbinden ..."}}
55 (% style="color: rgb(0, 0, 0); color: rgb(0, 0, 0)" %)Mit Hilfe der HTML-Ansicht (% style="color: rgb(0, 0, 0); color: rgb(0, 0, 0); color: rgb(0, 0, 0)" %)des [[Texteditors>>doc:Texteditor]] (% style="color: rgb(0, 0, 0); color: rgb(0, 0, 0)" %)können Sie Inhalte in diesem Portlet abhängig von Nutzerattributen oder der gewählten Systemsprache anzeigen. (% style="color: rgb(0, 0, 0); color: rgb(0, 0, 0); color: rgb(0, 0, 0); color: rgb(0, 0, 0)" %)Hierfür genügt es, diese Inhalte im folgenden Format an der entsprechenden Stelle im HTML-Code zu hinterlegen:
56
57 |(((
58 (% style="color: rgb(0,0,0);" %)
59
60
61 {{code language="xml"}}
62 <[html-Element] data-visibility-condition="[attribut];[operator];[wert]"></[html-Element]>
63 {{/code}}
64 )))|(((
65 [[image:attach:Startseite-Institutionsportlet Quelltext öffnen_de.png]]
66 )))
67
68 (% style="color: rgb(0, 0, 0); color: rgb(0, 0, 0)" %)
69
70
71 {{expand title="Erweitern, um Beispiele anzuzeigen ..."}}
72 **Beispiel1:** Einen Link zu OPAL, der allen Nutzer angezeigt werden soll, deren Vorname mit einem E beginnt, geben Sie so an:
73
74 {{code language="xml"}}
75 <a href="https://bildungsportal.sachsen.de/opal" data-visibility-condition="firstname;startswith;E">Link zu OPAL</a>
76 {{/code}}
77
78 **Beispiel 2**: Einen Text, der Nutzern sprachabhängig angezeigt werden soll, geben Sie so an:
79
80 {{code language="xml"}}
81 <p data-visibility-condition="locale;equals;en">Diesen Text sehen nur Nutzer, die in den allgemeinen Nutzer-Systemeinstellungen unter Sprache Englisch ausgewählt haben.</p>
82 {{/code}}
83 {{/expand}}
84
85 |=(((
86 Folgende Operatoren können Sie dazu verwenden:
87 )))|=(((
88 Diese Operatoren können Sie mit folgenden Nutzerattributen kombinieren:
89 )))
90 |(((
91 (% style="text-align: left;" %)
92 * contains
93 * equals
94 * startswith
95 * endswith
96 * not (z.B "not-equals")
97 )))|(((
98 (% style="text-align: left;" %)
99 * firstname
100 * lastname
101 * email
102 * institutionaluseridentifier
103 * institutionalname
104 * orgunit
105 * studysubject
106 * studygroup
107 * persontype
108 * termsofstudy
109 * birthday
110 * locale (Bezieht sich auf die von Nutzer eingestellte Systemsprache für die Plattform.)
111 )))
112
113 {{info}}
114 (% style="color: rgb(0, 0, 0); color: rgb(0, 0, 0)" %)In der Editieransicht des Portlets werden alle Inhalte angezeigt, im Portlet selbst dann attributsabhängig.
115 {{/info}}
116 {{/expand}}
117 {{/layout-cell}}
118 {{/layout-section}}
119 {{/layout}}
120 {{/sv-translation}}
121
122 {{sv-translation language="en"}}
123 (% class="MsoBodyText" %)
124 Only the institution's administrators as well as system administrators can customise the content of the portlet **//My Institution//**//.//
125
126 {{expand title="Edit institution portlet ..."}}
127 To edit the content of the portlet //**My Institution**//, proceed as follows:
128
129 |(% class="numberingColumn" %)(% class="numberingColumn" %)
130 (((
131 1
132 )))|(((
133 Open the home page. Click on the gear icon in the upper right corner of the portlet //**My Institution** //to open the configuration menu.
134 )))|(% rowspan="2" %)(% rowspan="2" %)
135 (((
136 [[image:attach:Startseite-Institutionsportlet konfigurieren_en.png]]
137 )))
138 |(% class="numberingColumn" colspan="1" %)(% class="numberingColumn" colspan="1" %)
139 (((
140 2
141 )))|(% colspan="1" %)(% colspan="1" %)
142 (((
143 Select the entry //**Edit**//.
144 )))
145 |(% class="numberingColumn" %)(% class="numberingColumn" %)
146 (((
147 3
148 )))|(((
149 (% class="content-wrapper" %)
150 (((
151 In the editing mode, you can use the [[Text editor>>doc:Texteditor]] to customise the content of the portlet to your liking.
152
153 {{expand title="Integrate images ..."}}
154 Below the text editor, you can see the content of the portlet's resource folder. This folder offers the possibility to manage stored content such as images or videos. In addition to deleting and adding resources, you can also rename your resources. Once a resource has been selected via its checkbox, the corresponding buttons will be activated above the table.
155 {{/expand}}
156 )))
157 )))|(((
158 [[image:attach:Startseite-Institutionsportlet editieren_en.png]]
159 )))
160 {{/expand}}
161
162 {{expand title="Integrate content into the institution portlet depending on user attributes ..."}}
163 Via the HTML view of the [[Text editor>>url:https://www.bps-system.de/help/display/LMSintern/.Texteditor+v3.6||shape="rect"]], you can display content in this portlet depending on user attributes or the system language selected. Just add the content in the following format at the appropriate position to the HTML code:
164
165 |(((
166 (% class="content-wrapper" %)
167 (((
168 {{code language="xml"}}
169 <[html-Element] data-visibility-condition="[attribut];[operator];[wert]"></[html-Element]>
170 {{/code}}
171 )))
172 )))|(((
173 [[image:attach:Startseite-Institutionsportlet Quelltext öffnen_en.png]]
174 )))
175
176 {{expand title="Expand to view examples ..."}}
177 **Example 1**: To provide a link to OPAL which will be displayed to all users whose first name begins with an E, enter:
178
179 {{code language="xml"}}
180 <a href="https://bildungsportal.sachsen.de/opal" data-visibility-condition="firstname;startswith;E">Link zu OPAL</a>
181 {{/code}}
182
183 **Example 2**: To provide a text which will be displayed to users depending on the system language selected, enter:
184
185 {{code language="xml"}}
186 <p data-visibility-condition="locale;equals;en">Only users who have selected English in the general user system settings under language will see this text.</p>
187 {{/code}}
188 {{/expand}}
189
190 |=(((
191 You can use the following operators:
192 )))|=(((
193 You can combine these operators with the following user attributes:
194 )))
195 |(((
196 * contains
197 * equals
198 * startswith
199 * endswith
200 * not (e. g. "not-equals")
201 )))|(((
202 * firstname
203 * lastname
204 * email
205 * institutionaluseridentifier
206 * institutionalname
207 * orgunit
208 * studysubject
209 * studygroup
210 * persontype
211 * termsofstudy
212 * birthday
213 * locale (refers to the system language configured by the user)
214 )))
215
216 {{info}}
217 In the editing mode of the portlet, all content is displayed. In normal mode, however, the content of the portlet is displayed depending on attributes.
218 {{/info}}
219 {{/expand}}
220 {{/sv-translation}}