Skip to content

Commit 7e7b00c

Browse files
committed
spelling
1 parent 31ba95e commit 7e7b00c

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

docs/classic-ui/portlets.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
myst:
33
html_meta:
44
"description": "Basic information about portlets in classic UI"
5-
"property=og:description": ""
6-
"property=og:title": ""
7-
"keywords": ""
5+
"property=og:description": "Basic information about portlets in classic UI"
6+
"property=og:title": "Portlets"
7+
"keywords": "portlets"
88
---
99

1010
(classic-ui-portlets-label)=
@@ -15,6 +15,9 @@ myst:
1515

1616
In Plone, a portlet is a small, modular piece of content that can be displayed in a specific area of a web page. Portlets are typically used to display information that is relevant to the current context, such as the latest news, upcoming events, or a list of related documents.
1717

18+
The context is either the current part of the content hierarchy, the current user's group memberships, or the current content type.
19+
Thus, if a portlet was set on a folder, all contained items do display the portlet unless it is explicitly blocked.
20+
1821
Portlets are highly customizable and can be used to display a wide variety of information. They can be added, removed, or rearranged on a web page by users with the appropriate permissions, allowing for a high degree of flexibility in the layout and content of a Plone site.
1922

2023
Plone comes with a number of built-in portlets, such as the news portlet, the events portlet, and the login portlet. In addition, developers can create custom portlets to display specific types of information or to provide specific functionality.
@@ -25,7 +28,7 @@ As a user, you can add a portlet to a web page in a Plone site by following thes
2528

2629
1. Navigate to the web page where you want to add the portlet.
2730

28-
2. Click on the "Manage portlets" link in the toolbar of the page and select the region on the page to mofify.
31+
2. Click on the "Manage portlets" link in the toolbar of the page and select the region on the page to modify.
2932
This will open the "Manage portlets" screen.
3033

3134
3. In the "Add portlets" menu, select the portlet that you want to add and click the "Add" button.
@@ -133,11 +136,12 @@ Here is the example for a simple page template ``my_portlet.pt``:
133136
</html>
134137
```
135138

136-
This portlet class defines a portlet with the title "My Portlet" and the name "my-portlet". When the portlet is rendered, it will use the template file `my_portlet.pt` to generate its HTML output that displays a greeting message..
139+
This portlet class defines a portlet with the title "My Portlet" and the name "my-portlet". When the portlet is rendered, it will use the template file `my_portlet.pt` to generate its HTML output that displays a greeting message.
137140

138-
The message is set when the portlet is added, and can be edited in the portlet's edit form.
141+
The message is set when the portlet is added and can be edited in the portlet's edit form.
139142

140-
To register this portlet with Plone, you will need to create a configure.zcml file that tells Plone about the portlet, and - after a restart - you can add it to a Plone page using the "manage portlets" screen. Here is an example configure.zcml file that registers the MyPortlet class defined above:
143+
To register this portlet with Plone, you will need to create a ``configure.zcml`` file that tells Plone about the portlet, and - after a restart - you can add it to a Plone page using the "manage portlets" screen.
144+
Here is an example ``configure.zcml`` file that registers the MyPortlet class defined above:
141145

142146
```XML
143147
<configure xmlns="http://namespaces.zope.org/zope"

0 commit comments

Comments
 (0)