Skip to content

explayouts_ui_api 1.3.41

Choose a tag to compare

@se7enxweb se7enxweb released this 01 Dec 11:47
· 8 commits to main since this release
  • Added: The layout group mail of explayouts (1.4.54 or later) in the editor: group=mail lists the mail layouts, mail
    layout types and shared mail layouts; without group the lists hold none of them, as before. The block types, the
    layout types and the shared layouts follow the layout the editor opens (a mail layout gets the mail lists), and the
    page asks for them with ?layout=<id> of its route.
  • Added: A mail layout offers only the blocks with a mail rendering and their view types offered for mail; a site
    layout offers no mail-only block and no admin block. Adding a block a layout does not offer is refused (422), and a
    view type not offered for mail is refused as unknown.
  • Added: A rule that names a mail layout is listed with the site's rules with "applicable": false, and the rules
    page marks it ("Mail layout: not applied to pages").
  • Added: The editor's page takes ?group=mail for its lists and the new layout form, next to return_to, the
    path of this installation it returns to. README: "Mail layouts in the editor".
  • Updated: With an explayouts that knows no mail group nothing is offered for mail, and the site's block list leaves
    out the blocks whose definition says Group=mail, as it left out Group=admin.
  • Added: tests/MailGroupTest.php and tests/js/mail-group.test.mjs.