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/upgrading/version-specific-migration/upgrade-to-60.md
+48Lines changed: 48 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -602,3 +602,51 @@ Please make sure you write valid JSON for the `template` option.
602
602
```{seealso}
603
603
See also the [TinyMCE 4 to 5 upgrade guide](https://www.tiny.cloud/docs/migration-from-4x/).
604
604
```
605
+
606
+
## Viewlets
607
+
608
+
Plone 6.0 renames various viewlets or moves them to a different viewlet manager.
609
+
This is because some viewlet names contained the name of a viewlet manager.
610
+
This didn't always match the name of their actual viewlet manager, especially after moving them.
611
+
Plone 6.0 removes such references from the viewlet names to avoid confusion.
612
+
613
+
- Plone 6.0 removes the `plone.header` viewlet from `plone.portaltop` manager, making it empty.
614
+
- Plone 6.0 renames the `plone.abovecontenttitle.documentactions` viewlet to `plone.documentactions`, and moves it from manager `plone.belowcontentbody` to `plone.belowcontent`.
615
+
- Plone 6.0 renames the `plone.abovecontenttitle.socialtags` viewlet to `plone.socialtags`.
616
+
It remains in manager `plone.abovecontenttitle`.
617
+
- Plone 6.0 renames the `plone.belowcontentbody.relateditems` viewlet to `plone.relateditems`.
618
+
It remains in manager `plone.belowcontentbody`.
619
+
- Plone 6.0 removes the `plone.manage_portlets_fallback` viewlet from the `plone.belowcontent` manager.
620
+
- Plone 6.0 renames the `plone.belowcontenttitle.documentbyline` viewlet to `plone.documentbyline`.
621
+
It remains in manager `plone.belowcontenttitle`.
622
+
- Plone 6.0 renames the `plone.belowcontenttitle.keywords` viewlet to `plone.keywords`, and moves it from manager `plone.belowcontent` to `plone.belowcontentbody`.
623
+
- Plone 6.0 adds the `plone.rights` viewlet in manager `plone.belowcontentbody`.
624
+
625
+
The names in the following table have had the namespace `plone.` removed from them for display purposes only.
626
+
In your code, you should use the object's `plone.` namespace as a prefix.
627
+
This table shows the same information, but in tabular form.
628
+
629
+
```{table} Viewlet changes from 5.2 to 6.0
630
+
631
+
| 5.2 viewlet name | 5.2 viewlet manager | 6.0 viewlet name | 6.0 viewlet manager |
0 commit comments