Add Subsite content-type for Volto
Project description
This add-on enable a new Subsite content-type and provides some utilities for Volto.
Subsite
It’s a basic folderish content with some additional fields:
Header text
Footer text
Color
Image
These fields are useful for Volto theme that will draw some components based on these values.
Subsite contents are not searchable.
Accessing Subsite data from restapi
There is a new expansion slot in restapi response when getting content data: subsite.
This expansion works like the standard ones (workflow, breadcrumbs, etc) and returns some metadata of the parent Subsite if the requested content is inside a Subsite.
Control panel
There is a control panel that allows to set some settings for Subsites:
Styles: you can set a predefined list of css classes that will be used in Volto theme to set some custom styles inside the subsite.
Translations
This product has been translated into
Italian
Spanish
Installation
Install collective.volto.subsites by adding it to your buildout:
[buildout] ... eggs = collective.volto.subsites
and then running bin/buildout
Contribute
License
The project is licensed under the GPLv2.
Contributors
RedTurtle Technology, sviluppo@redturtle.it
Leonardo J. Caballero G., leonardocaballero@gmail.com
Changelog
1.5.0 (2024-05-05)
Added Spanish translations. [macagua]
Add plone.app.caching >= 3.0.0a1 dependency to make it work in Plone 5.2 [erral]
Enable versioning. [cekk]
1.4.0 (2021-10-10)
p.a.caching rules for rest api services. [cekk]
1.3.1 (2021-10-02)
Add kitconcept.seo behaviour. [daniele]
1.3.0 (2021-10-01)
Add subsite_logo field. [cekk]
1.2.2 (2021-06-07)
Enable subsites to be translatables. [cekk]
1.2.1 (2021-05-04)
Add default value to social links field. [cekk]
1.2.0 (2021-05-04)
Add additional field for manage social links in subsite. [cekk]
1.1.0 (2021-04-30)
Disable Subsite from searchable contents. [cekk]
1.0.0 (2020-12-15)
Initial release. [cekk]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for collective.volto.subsites-1.5.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 330b7dce5406cb2f2a8167971fdb190c386579258d5646d00c4ddc6471c90c0b |
|
MD5 | c01263f95362b1e4bc98b88a16f12e16 |
|
BLAKE2b-256 | 84f16906b6e548abc9d2b0f3cbe031352844c7f9556aeeaf72dd9018dd896462 |
Hashes for collective.volto.subsites-1.5.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5d7682217be6c84e61beb7fecbd3d07c6e86a2e50c11ff2c34d87f63bec05c1 |
|
MD5 | 1ddf66f52d798cf29f74da6bdae23951 |
|
BLAKE2b-256 | ab03f1e3bcc30c1112b4f76cafcc283b035ef4f25b4ccc6126d61e3d5d89891e |