Skip to main content

A block approach for Plone 6 Classic

Project description

collective.contentsections

This product offers a block approach for Plone 6 Classic based entirely on Dexterity content types. It is largely based on the code that was developed in the imio.smartweb.core product for the Walloon municipalities.

The plone site is seen as a folder hierarchy that contains pages. A page is composed of sections. A section can contain elements of the same type. Folders, pages, sections and elements are all Dexterity content types.

Images and files are seen as elements. Images are only available in images sections and as lead image in all content types. Files are only available in files sections. Links are sometimes seen as elements of the links section and sometimes as redirect pages.

Features

This product provides :

  • Basic schema and class for section content types
  • LeadIcon vocabulary and behavior based on plone.icons registry records
  • HTMLSection, TextSection, SelectionSection and CollectionSection content types
  • CardsSection content type based on a collective.z3cform.datagridfield field
  • ImagesSection, LinksSection, FilesSection folderish section content types
  • A Page view for folderish content types
  • BasicPage, EventPage page content types

This product fits Plone with:

  • top position for Toolbar position
  • use accordion instead of tabbing for edit forms
  • new image sizes
  • a new default page name index
  • LeadImage on File and Link content types
  • hiding contentleadimage viewlet: content LeadImage is used only on listing/collection/parent views
  • a profile to simplify TinyMCE interface

Installation

Install collective.contentsections by adding it to your buildout:

[buildout]

...

eggs =
    collective.contentsections

and then running bin/buildout

Development

make install
make start

TODO

  • Tests, Tests, Tests
  • A FormSection based on Easyform ?

Previews

Preview 1

Preview 2

Preview 3

Contributors

Changelog

1.0.0a2 (2021-12-17)

  • Add Event Page portal type [sverbois]

1.0.0a1 (2021-12-17)

  • Initial release [sverbois]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

collective.contentsections-1.0.0a2.tar.gz (47.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page