Skip to content

Commit e8f03e3

Browse files
committed
added guilabels and definition list, also move text up
1 parent b54dc88 commit e8f03e3

File tree

1 file changed

+29
-15
lines changed

1 file changed

+29
-15
lines changed

docs/classic-ui/portlets.md

Lines changed: 29 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -30,19 +30,20 @@ As a user, you can add a portlet to a web page in a Plone site by following thes
3030
1. Navigate to the web page where you want to add the portlet.
3131

3232
2. Click on the {guilabel}`Manage portlets` link in the toolbar of the page and select the region on the page to modify.
33-
This will open the "Manage portlets" screen.
33+
This will open the screen to manage portlets for the current item.
34+
35+
Note that you must have the appropriate permissions to add portlets to a web page.
36+
If you do not see the {guilabel}`Manage portlets` link, you may need to contact the site administrator to request access.
3437

3538
3. In the {menuselection}`Add portlets` menu, select the portlet that you want to add, and click the {guilabel}`Add` button.
3639
This will open an edit form, now fill in the form.
3740

38-
4. Click the "Save" button to save your changes and add the portlet to the web page.
39-
This adds the portlet to the list of "Portlets assigned here" on the screen.
40-
Note that you must have the appropriate permissions to add portlets to a web page.
41-
If you do not see the "Manage portlets" link, you may need to contact the site administrator to request access.
41+
4. Click the {guilabel}`Save` button to save your changes and add the portlet to the web page.
42+
This adds the portlet to the list of {guilabel}`Portlets assigned here` on the screen.
4243

43-
5. Use the "Up" and "Down" arrows in the "Assigned portlets" section to change the order in which the portlets will be displayed on the web page.
44-
The "Hide" button will deactivate the portlet.
45-
The "X" button deletes the portlet.
44+
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.
45+
The {guilabel}`Hide` button will deactivate the portlet.
46+
The {guilabel}`X` button deletes the portlet.
4647

4748

4849
## Writing a custom Portlet
@@ -169,13 +170,26 @@ Here is an example ``configure.zcml`` file that registers the MyPortlet class de
169170

170171
This file registers a portlet with the following properties:
171172

172-
- *Title:* Example" Portlet"
173-
- *Description:* "A portlet that displays a greeting message"
174-
- *Add form:* "example.portlet.add"
175-
- *Edit form:* "example.portlet.edit"
176-
- *Assignment:* "example.portlet.Assignment"
177-
- *Renderer:* "example.portlet.Renderer"
178-
- *Schema:* "example.portlet.IExamplePortlet"
173+
Title
174+
: `Example" Portlet`
175+
176+
Description
177+
: `A portlet that displays a greeting message`
178+
179+
Add form
180+
: `example.portlet.add`
181+
182+
Edit form
183+
: `example.portlet.edit`
184+
185+
Assignment
186+
: `example.portlet.Assignment`
187+
188+
Renderer
189+
: `example.portlet.Renderer`
190+
191+
Schema
192+
: `example.portlet.IExamplePortlet`
179193

180194
These values should match the corresponding classes and interfaces defined in the example code from the previous example.
181195

0 commit comments

Comments
 (0)