Metadata-Version: 2.4
Name: collective.volto.subsites
Version: 1.6.0
Summary: Add Subsite content-type for Volto
Home-page: https://github.com/collective/collective.volto.subsites
Author: RedTurtle Technology
Author-email: sviluppo@redturtle.it
License: GPL version 2
Project-URL: PyPI, https://pypi.python.org/pypi/collective.volto.subsites
Project-URL: Source, https://github.com/collective/collective.volto.subsites
Project-URL: Tracker, https://github.com/collective/collective.volto.subsites/issues
Keywords: Python Plone
Classifier: Environment :: Web Environment
Classifier: Framework :: Plone
Classifier: Framework :: Plone :: Addon
Classifier: Framework :: Plone :: 5.2
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Operating System :: OS Independent
Classifier: License :: OSI Approved :: GNU General Public License v2 (GPLv2)
Requires-Python: >=3.6
License-File: LICENSE.GPL
License-File: LICENSE.rst
Requires-Dist: setuptools
Requires-Dist: plone.api>=1.8.4
Requires-Dist: plone.restapi
Requires-Dist: plone.app.dexterity
Requires-Dist: plone.app.caching>=3.0.0a1
Provides-Extra: test
Requires-Dist: plone.app.testing; extra == "test"
Requires-Dist: plone.testing>=5.0.0; extra == "test"
Requires-Dist: plone.app.contenttypes; extra == "test"
Requires-Dist: plone.app.robotframework[debug]; extra == "test"
Requires-Dist: collective.MockMailHost; extra == "test"
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: home-page
Dynamic: keywords
Dynamic: license
Dynamic: license-file
Dynamic: project-url
Dynamic: provides-extra
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary


==============
Volto Subsites
==============

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
----------

- Issue Tracker: https://github.com/collective/collective.volto.subsites/issues
- Source Code: https://github.com/collective/collective.volto.subsites


License
-------

The project is licensed under the GPLv2.

Authors
=======

This product was developed by **RedTurtle Technology** team.

.. image:: https://avatars1.githubusercontent.com/u/1087171?s=100&v=4
   :alt: RedTurtle Technology Site
   :target: https://www.redturtle.it/


Contributors
============

- RedTurtle Technology, sviluppo@redturtle.it

- Leonardo J. Caballero G., leonardocaballero@gmail.com


Changelog
=========


1.6.0 (2026-10-28)
------------------

- Now annidated subsites are possible: the search is from leafs to root
  [fedevancin]


1.5.1 (2024-12-12)
------------------

- update translation
  [lucabel]


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]
