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/backend/relations.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,7 +61,7 @@ minions = RelationList(
61
61
)
62
62
```
63
63
64
-
We can see that the [code for the behavior `IRelatedItems`](https://github.com/plone/plone.app.relationfield/blob/master/plone/app/relationfield/behavior.py) does exactly the same thing.
64
+
We can see that the [code for the behavior `IRelatedItems`](https://github.com/plone/plone.app.relationfield/blob/master/src/plone/app/relationfield/behavior.py) does exactly the same thing.
Copy file name to clipboardExpand all lines: docs/backend/widgets.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -624,7 +624,7 @@ You can set the template used by the widget with the `<z3c:widgetTemplate>` ZCML
624
624
### Widget frame override
625
625
626
626
You can override widget templates as instructed for `z3c.form`.
627
-
`plone.app.z3cform` renders [a frame around each widget](https://github.com/plone/plone.app.z3cform/blob/master/plone/app/z3cform/templates/widget.pt), which usually consists of:
627
+
`plone.app.z3cform` renders [a frame around each widget](https://github.com/plone/plone.app.z3cform/blob/master/src/plone/app/z3cform/templates/widget.pt), which usually consists of:
628
628
629
629
- Label
630
630
- Required marker
@@ -633,7 +633,7 @@ You can override widget templates as instructed for `z3c.form`.
633
633
You might want to customize this widget frame for your own form.
634
634
Below is an example of how to do it.
635
635
636
-
Copy [`widget.pt`](https://github.com/plone/plone.app.z3cform/blob/master/plone/app/z3cform/templates/widget.pt) to your own package, rename it as `demo-widget.pt`, and edit it.
636
+
Copy [`widget.pt`](https://github.com/plone/plone.app.z3cform/blob/master/src/plone/app/z3cform/templates/widget.pt) to your own package, rename it as `demo-widget.pt`, and edit it.
637
637
638
638
Then add the following code to `configure.zcml`.
639
639
Remember to fix the path of the template according to your own paths.
Copy file name to clipboardExpand all lines: docs/classic-ui/forms.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -174,7 +174,7 @@ In the template, you can use the following variables:
174
174
Dexterity content types come with default add and edit forms.
175
175
You can build custom add and edit forms to adjust their behavior.
176
176
177
-
The implementation of the default edit and add forms is in [`plone.dexterity.browser.edit.py`](https://github.com/plone/plone.dexterity/blob/master/plone/dexterity/browser/edit.py) and [`plone.dexterity.browser.add.py`](https://github.com/plone/plone.dexterity/blob/master/plone/dexterity/browser/add.py).
177
+
The implementation of the default edit and add forms is in [`plone.dexterity.browser.edit.py`](https://github.com/plone/plone.dexterity/blob/master/src/plone/dexterity/browser/edit.py) and [`plone.dexterity.browser.add.py`](https://github.com/plone/plone.dexterity/blob/master/src/plone/dexterity/browser/add.py).
178
178
179
179
```{todo}
180
180
Describe Add/Edit forms here and how to customize them.
Copy file name to clipboardExpand all lines: docs/classic-ui/images.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -248,7 +248,7 @@ To scale an image, you can use the `mode` parameter to control the scaling outpu
248
248
You must use either `width` or `height`, or both.
249
249
250
250
Three different scaling options are supported.
251
-
They correspond to the CSS [`background-size`](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size) values.
251
+
They correspond to the CSS [`background-size`](https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/background-size) values.
252
252
253
253
The possible options for `mode` are listed below, where the default option is `scale`.
254
254
@@ -279,6 +279,7 @@ These views help developers verify image scaling, `srcset` generation, and explo
279
279
These views work on image content types, including images and documents with images.
280
280
281
281
Append the view name `/@@images-test` to an image URL, optionally followed by an anchor, such as `#srcset`, for specific sections.
282
+
You must be authenticated as a site admin to view this demo.
282
283
283
284
For example, on the Classic UI demo site, the URL would be https://classic.demo.plone.org/en/demo/an-image.jpg/@@images-test#srcset.
284
285
@@ -371,7 +372,7 @@ To access image scales, which are normally not accessible to the current user, o
371
372
## Responsive image support
372
373
373
374
Plone supports the generation of [`picture`](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/picture) tags with `srcset`s for image optimization.
374
-
Additionally, you can define [media queries](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_media_queries/Using_media_queries) for [art direction](classic-ui-images-responsive-image-support-art-direction) and further optimization.
375
+
Additionally, you can define [media queries](https://developer.mozilla.org/en-US/docs/Web/CSS/Guides/Media_queries/Using) for [art direction](classic-ui-images-responsive-image-support-art-direction) and further optimization.
375
376
376
377
The configuration allows you to define different `picture` variants, such as `Large`, `Medium`, or `Small`.
377
378
Users can choose from them in editors, such as TinyMCE, and developers can use them in templates.
Copy file name to clipboardExpand all lines: docs/classic-ui/theming/css-custom-properties.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ myst:
11
11
12
12
# CSS custom properties
13
13
14
-
This chapter describes the [CSS custom properties](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_cascading_variables/Using_CSS_custom_properties) used in Bootstrap and customized by Classic UI themes.
14
+
This chapter describes the [CSS custom properties](https://developer.mozilla.org/en-US/docs/Web/CSS/Guides/Cascading_variables/Using_custom_properties) used in Bootstrap and customized by Classic UI themes.
15
15
Custom properties (sometimes referred to as CSS variables or cascading variables) are entities defined by CSS authors that represent specific values to be reused throughout a document.
@@ -822,7 +822,7 @@ Hide the concerning viewlets in one manager using `/@@manage-viewlets` and {file
822
822
```
823
823
824
824
Viewlet managers are based on [`zope.viewlet.manager.ViewletManager`](https://github.com/zopefoundation/zope.viewlet/blob/master/src/zope/viewlet/manager.py)
825
-
and [`plone.app.viewletmanager.manager.OrderedViewletManager`](https://github.com/plone/plone.app.viewletmanager/blob/master/plone/app/viewletmanager/manager.py).
825
+
and [`plone.app.viewletmanager.manager.OrderedViewletManager`](https://github.com/plone/plone.app.viewletmanager/blob/master/src/plone/app/viewletmanager/manager.py).
Copy file name to clipboardExpand all lines: docs/classic-ui/views.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@ This enhances readability and makes components more reusable.
38
38
You can override the Python logic, the template file, or both.
39
39
40
40
When you work with Plone, the most common view type is `BrowserView` from the package [`Products.Five`](https://github.com/zopefoundation/Zope/blob/master/src/Products/Five/doc/manual.txt).
41
-
Other view types include `DefaultView` from [`plone.dexterity`](https://github.com/plone/plone.dexterity/blob/master/plone/dexterity/browser/view.py) and `CollectionView` from [`plone.app.contenttypes`](https://github.com/plone/plone.app.contenttypes/blob/master/plone/app/contenttypes/browser/collection.py).
41
+
Other view types include `DefaultView` from [`plone.dexterity`](https://github.com/plone/plone.dexterity/blob/master/src/plone/dexterity/browser/view.py) and `CollectionView` from [`plone.app.contenttypes`](https://github.com/plone/plone.app.contenttypes/blob/master/src/plone/app/contenttypes/browser/collection.py).
42
42
43
43
Each `BrowserView` class is a Python callable.
44
44
The `BrowserView.__call__()` method acts as an entry point to executing the view code.
@@ -255,7 +255,7 @@ Add the name of the new view `my-view` to the following list:
255
255
### Template slots
256
256
257
257
In the generated template above, we have a `fill-slot` attribute.
258
-
This will fill the slot with the name `content-core`, which is defined in Plone's [`main_template`](https://github.com/plone/Products.CMFPlone/blob/master/Products/CMFPlone/browser/templates/main_template.pt).
258
+
This will fill the slot with the name `content-core`, which is defined in Plone's [`main_template`](https://github.com/plone/Products.CMFPlone/blob/master/src/Products/CMFPlone/browser/templates/main_template.pt).
259
259
The following list shows the available options for `<metal fill-slot="">` in your template.
Copy file name to clipboardExpand all lines: docs/contributing/core/continuous-integration.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,9 +36,9 @@ When you push a commit to a Plone repository on GitHub, the email address in you
36
36
If it does not match, then `mr.roboto` will notify you that there is a problem that prevents your pull request from being merged.
37
37
You must resolve the issue.
38
38
39
-
To change the email address in your commits, see [Setting your commit email address](https://docs.github.com/en/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-email-preferences/setting-your-commit-email-address).
39
+
To change the email address in your commits, see [Setting your commit email address](https://docs.github.com/en/account-and-profile/how-tos/email-preferences/setting-your-commit-email-address).
40
40
41
-
To add an email address to your GitHub account, see [Adding an email address to your GitHub account](https://docs.github.com/en/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-email-preferences/adding-an-email-address-to-your-github-account).
41
+
To add an email address to your GitHub account, see [Adding an email address to your GitHub account](https://docs.github.com/en/account-and-profile/how-tos/email-preferences/adding-an-email-address-to-your-github-account).
0 commit comments