You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/classic-ui/portlets.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,15 +39,16 @@ As a user, you can add a portlet to a web page in a Plone site by following thes
39
39
Note that you must have the appropriate permissions to add portlets to a web page.
40
40
If you do not see the {guilabel}`Manage portlets` link, you may need to contact the site administrator to request access.
41
41
42
-
3. In the {menuselection}`Add portlets` menu, select the portlet that you want to add, and click the {guilabel}`Add` button.
43
-
This will open an edit form, now fill in the form.
42
+
3. In the {menuselection}`Add portlets` menu, select the portlet type that you want to add, and click the {guilabel}`Add` button.
43
+
This will open a form to edit the settings for the selected portlet type.
44
44
45
45
4. Click the {guilabel}`Save` button to save your changes and add the portlet to the web page.
46
46
This adds the portlet to the list of {guilabel}`Portlets assigned here` on the screen.
47
47
48
48
5. Use the {guilabel}`Up` and {guilabel}`Down` arrows in the {guilabel}`Assigned portlets` section to change the order in which the portlets will be displayed on the web page.
49
49
The {guilabel}`Hide` button will deactivate the portlet.
50
50
The {guilabel}`X` button deletes the portlet.
51
+
These options will only appear at the root from which the object inherits its settings.
51
52
52
53
53
54
## Writing a custom Portlet
@@ -151,7 +152,7 @@ This portlet class defines a portlet with the title "My Portlet" and the name "m
151
152
The message is set when the portlet is added and can be edited in the portlet's edit form.
152
153
153
154
To register this portlet with Plone, you will need to create a `configure.zcml` file that tells Plone about the portlet.
154
-
After a restart, you can add it to a Plone page using the "manage portlets" screen.
155
+
After a restart, you can add it to a Plone page using the {guilabel}`Manage portlets` screen.
155
156
Here is an example `configure.zcml` file that registers the `MyPortlet` class defined above:
156
157
157
158
```xml
@@ -176,7 +177,7 @@ Here is an example `configure.zcml` file that registers the `MyPortlet` class de
176
177
This file registers a portlet with the following properties:
0 commit comments