Skip to content

Commit 192be28

Browse files
Add Viewlets section to 6.0 backend upgrade guide.
See also plone/Products.CMFPlone#3911
1 parent e63e83a commit 192be28

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

docs/backend/upgrading/version-specific-migration/upgrade-to-60.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -602,3 +602,40 @@ Please make sure you write valid JSON for the `template` option.
602602
```{seealso}
603603
See also the [TinyMCE 4 to 5 upgrade guide](https://www.tiny.cloud/docs/migration-from-4x/).
604604
```
605+
606+
## Viewlets
607+
608+
Plone 6.0 renames various viewlets or moves them to a different viewlet manager.
609+
The reason for renaming, is that 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.documentactions (IDocumentActions)` viewlet manager. In Plone 5.2 it was already empty.
614+
- Plone 6.0 adds the `plone.belowcontentdescription (IBelowContentDescription)` viewlet manager. By default this has no viewlets.
615+
- Plone 6.0 removes the `plone.header` viewlet from `plone.portaltop` manager, making it empty.
616+
- Plone 6.0 renames the `plone.abovecontenttitle.documentactions` viewlet to `plone.documentactions` and moves it from manager `plone.belowcontentbody` to `plone.belowcontent`.
617+
- Plone 6.0 renames the `plone.abovecontenttitle.socialtags` viewlet to `plone.socialtags`. It remains in manager `plone.abovecontenttitle`.
618+
- Plone 6.0 renames the `plone.belowcontentbody.relateditems` viewlet to `plone.relateditems`. 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` . It remains in manager `plone.belowcontenttitle`.
621+
- Plone 6.0 renames the `plone.belowcontenttitle.keywords` viewlet to `plone.keywords` and moves it from manager `plone.belowcontent` to `plone.belowcontentbody`.
622+
- Plone 6.0 adds the `plone.rights` viewlet in manager `plone.belowcontentbody`.
623+
- Plone 6.0 moves the `plone.footer` viewlet from `plone.app.layout/viewlets` to `plone.app.portlets`. The viewlet remains in manager `plone.portalfooter`. It renders the portlets from the `plone.footerportlets` portlet manager.
624+
625+
This is the same information in table form.
626+
You can toggle navigation to make more of the table visible.
627+
628+
:::{table} Viewlet changes from 5.2 to 6.0
629+
630+
| 5.2 viewlet name | 5.2 viewlet manager | 6.0 viewlet name | 6.0 viewlet manager |
631+
| ---------------- | ------------------- | ---------------- | ------------------- |
632+
|| `plone.documentactions` | | |
633+
|||| `plone.belowcontentdescription` |
634+
| `plone.header` | `plone.portaltop` | | `plone.portaltop` |
635+
| `plone.abovecontenttitle.documentactions` | `plone.belowcontentbody` | `plone.documentactions` | `plone.belowcontent` |
636+
| `plone.abovecontenttitle.socialtags` | `plone.abovecontenttitle` | `plone.socialtags` | `plone.abovecontenttitle` |
637+
| `plone.belowcontentbody.relateditems` | `plone.belowcontentbody` | `plone.relateditems` | `plone.belowcontentbody` |
638+
| `plone.manage_portlets_fallback` | `plone.belowcontent` | | `plone.belowcontent` |
639+
| `plone.belowcontenttitle.documentbyline` | `plone.belowcontenttitle` | `plone.documentbyline` | `plone.belowcontenttitle` |
640+
| `plone.belowcontenttitle.keywords` | `plone.belowcontent` | `plone.keywords` | `plone.belowcontentbody` |
641+
| | `plone.belowcontentbody` | `plone.rights` | `plone.belowcontentbody` |

0 commit comments

Comments
 (0)