Skip to content

About

Politikus meta add-on package to install and configure Politikus Plone website

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

politikus.site

Politikus Classic UI site add-on that auto-installs and configures the required Politikus add-ons.

politikus.site is a site-configuring add-on. Installing it pulls in and installs, in one step, the add-ons a Politikus site needs and configures the site for the Classic UI (the backend/server-rendered Plone UI) by depending on plone.classicui and not the new Volto (Angular) frontend.

Auto-installed add-ons

Declaring these as dependencies means installing politikus.site installs them too (their GenericSetup profiles are listed in src/politikus/site/profiles/default/metadata.xml):

  • politikus.contenttypes — issue tracking and relations
  • politikus.popolo (git repo popolo.contenttypes) — Popolo-spec content types
  • politikus.ocds — OCDS content types
  • politikus.bods — Open Ownership / BODS content types
  • collective.vocabularies.iso — ISO vocabularies
  • politikus.extractives — extractives industry content types
  • politikus.naturalresource — natural resource content types

Plus plone.classicui (Classic UI distribution) and plone.restapi.

Classic UI

This add-on targets the Classic UI. The profiles/default distribution dependency is plone.classicui:default (not plone.volto:default). The instance's Classic UI is the default backend-rendered UI; the new Angular (Volto) frontend is intentionally not enabled.

Installation

Install politikus.site with pip:

pip install politikus.site

And to create the Plone site:

make create-site

Contribute

Prerequisites ✅

Installation 🔧

  1. Clone this repository, then change your working directory.

    git clone git@github.com:Sinar/politikus.site.git
    cd politikus.site
  2. Install this code base.

    make install

Add features using plonecli or bobtemplates.plone

This package provides markers as strings (<!-- extra stuff goes here -->) that are compatible with plonecli and bobtemplates.plone. These markers act as hooks to add all kinds of subtemplates, including behaviors, control panels, upgrade steps, or other subtemplates from plonecli.

To run plonecli with configuration to target this package, run the following command.

make add <template_name>

For example, you can add a content type to your package with the following command.

make add content_type

You can add a behavior with the following command.

make add behavior
You can check the list of available subtemplates in the [`bobtemplates.plone` `README.md` file](https://github.com/plone/bobtemplates.plone/?tab=readme-ov-file#provided-subtemplates).
See also the documentation of [Mockup and Patternslib](https://6.docs.plone.org/classic-ui/mockup.html) for how to build the UI toolkit for Classic UI.

License

The project is licensed under GPLv2.

Credits and acknowledgements 🙏

Generated using Cookieplone (1.1.0) and cookieplone-templates (8e49881) on 2026-09-04 02:53:57.110642. A special thanks to all contributors and supporters!

About

Politikus meta add-on package to install and configure Politikus Plone website

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages