Skip to content

Commit

Permalink
mention the block_types index in the readme
Browse files Browse the repository at this point in the history
  • Loading branch information
davisagli committed Jan 7, 2024
1 parent 5c8f809 commit 78a6ff8
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,19 @@ Volto Blocks Support
plone.volto enables the new Volto Blocks editor on ``Document``, ``Language Root Folder`` and ``Site Root``.


Block Types Index
-----------------

plone.volto adds a ``block_types`` index to the Plone catalog.
It can be used to query for items that use a particular type of block::

portal_catalog.searchResults(block_types="image")

The ``block_types`` index was added in plone.volto 4.1.0.
By default it is only added for new Plone sites.
To add it to an existing site, run ``plone.volto.upgrades.add_block_types_index`` manually.


Multilingual Support
--------------------

Expand Down

0 comments on commit 78a6ff8

Please sign in to comment.