Wiki source code of Institutionsportlet

Last modified by Carina Enke on 18.11.2025

Hide last authors
Carina Enke 200.1 1 Only the institution's administrators as well as system administrators can customise the content of the portlet **My Institution**. 
Carina Enke 64.1 2
Carina Enke 200.1 3 {{expand title="Edit institution portlet ..."}}
4 To edit the content of the portlet **My Institution**, proceed as follows:
Carina Enke 64.1 5
Carina Enke 199.1 6 |(((
Carina Enke 200.1 7 Open the home page. Click on the gear icon in the upper right corner of the portlet **My Institution** to open the configuration menu.
Carina Enke 64.1 8 )))|(% rowspan="2" %)(% rowspan="2" %)
9 (((
Carina Enke 200.1 10 [[image:attach:Startseite-Institutionsportlet konfigurieren_en.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
Carina Enke 64.1 11 )))
Carina Enke 199.1 12 |(% colspan="1" %)(% colspan="1" %)
Carina Enke 64.1 13 (((
Carina Enke 200.1 14 Select the entry **Edit**.
Carina Enke 64.1 15 )))
Carina Enke 199.1 16 |(((
Carina Enke 200.1 17 (% class="content-wrapper" %)
18 (((
19 In the editing mode, you can use the Text editor to customise the content of the portlet to your liking.
Carina Enke 64.1 20
Carina Enke 200.1 21 {{expand title="Integrate images ..."}}
22 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.
Carina Enke 64.1 23 {{/expand}}
24 )))
Carina Enke 200.1 25 )))|(((
26 [[image:attach:Startseite-Institutionsportlet editieren_en.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
Carina Enke 64.1 27 )))
28 {{/expand}}
29
Carina Enke 200.1 30 {{expand title="Integrate content into the institution portlet depending on user attributes ..."}}
31 Via the HTML view of the Text editor, 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:
Carina Enke 64.1 32
33 |(((
34 {{code language="xml"}}
35 <[html-Element] data-visibility-condition="[attribut];[operator];[wert]"></[html-Element]>
36 {{/code}}
37 )))|(((
Carina Enke 200.1 38 [[image:attach:Startseite-Institutionsportlet Quelltext öffnen_en.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
Carina Enke 64.1 39 )))
40
Carina Enke 200.1 41 {{expand title="Expand to view examples ..."}}
42 **Example 1**: To provide a link to OPAL which will be displayed to all users whose first name begins with an E, enter:
Carina Enke 64.1 43
44 {{code language="xml"}}
Moritz Baumgarten 197.1 45 <a data-cke-saved-href="https://bildungsportal.sachsen.de/opal" href="https://bildungsportal.sachsen.de/opal" data-visibility-condition="firstname;startswith;E">Link zu OPAL</a>
Carina Enke 64.1 46 {{/code}}
47
Carina Enke 200.1 48 **Example 2**: To provide a text which will be displayed to users depending on the system language selected, enter:
Carina Enke 64.1 49
50 {{code language="xml"}}
Carina Enke 200.1 51 <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>
Carina Enke 64.1 52 {{/code}}
53 {{/expand}}
54
55 |=(((
Carina Enke 200.1 56 You can use the following operators:
Carina Enke 64.1 57 )))|=(((
Carina Enke 200.1 58 You can combine these operators with the following user attributes:
Carina Enke 64.1 59 )))
60 |(((
61 * contains
62 * equals
63 * startswith
64 * endswith
Carina Enke 200.1 65 * not (e. g. "not-equals")
Carina Enke 64.1 66 )))|(((
67 * firstname
68 * lastname
69 * email
70 * institutionaluseridentifier
71 * institutionalname
72 * orgunit
73 * studysubject
74 * studygroup
75 * persontype
76 * termsofstudy
77 * birthday
Carina Enke 200.1 78 * locale (refers to the system language configured by the user)
Carina Enke 64.1 79 )))
80
81 {{info}}
Carina Enke 200.1 82 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.
Carina Enke 64.1 83 {{/info}}
84 {{/expand}}