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
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
Changelog
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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for collective.volto.subsites-1.4.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b688928be8f1c77146b17d84b5738d2df4a0f9f3007dd9230ecbc1f80e8e2518 |
|
MD5 | 2092c7aa71cdd89755976b17718536a2 |
|
BLAKE2-256 | 52d3899c50425da35a2440fd5c3d4dec0df81a5e435a8d4d8fd7fe0c075aac5c |