juliozinga
(Julio Zinga)
December 21, 2024, 7:25pm
1
Hello, I would like to know how to have, on a specific page such as the main page of a university, a list of news that updates automatically each time a new piece of news is added. I would like to know if, in addition to the "Listing Block," there is another addon that can be used and that can reference a criterion similar to the "Listing Block" or "Search." I would like to use addons such as "Slider," "Teaser," or "Carousel," where, for example, the latest three news items would be highlighted.
I'm using Plone 6 + Volto (Kitconcept Intranet)
Here more details:
1 Like
tkimnguyen
(T. Kim Nguyen)
December 21, 2024, 7:35pm
2
Hi @juliozinga ! I wanted to see if we were doing anything special on plone.org , but we are using the listing block.
Maybe what you need is a new listing block variation?
rnunez
(Rafael Nunez)
December 29, 2024, 10:40pm
3
juliozinga , I created volto-advanced-variations, an addon that displays listings or searches as carousels/sliders or lists with or without images. It also offers image options (top, bottom, left, right, background) and event info (dates, times, location).
Our homepage has 4 different listings, each with a unique display style (2 as carousels and 2 as lists).
York College / CUNY provides students with a one-of-a-kind educational experience. It offers many qualities of a major university, including a distinguished faculty and strong pre-professional programs. At the same time, students benefit from...
Contribute to rnunez80/volto-advanced-variations development by creating an account on GitHub.
2 Likes
tisto
(Tisto)
January 2, 2025, 5:58pm
4
@juliozinga , there is a PLIP to implement variants for the listing/search block:
opened 08:32AM - 15 May 23 UTC
03 type: feature (plip)
## PLIP (Plone Improvement Proposal)
<!--
Read http://5.docs.plone.org/dev… elop/coredev/docs/plips.html first!
Set "03 type: feature: plip" as label.
Mention the @plone/volto-team when the PLIP is information complete!
-->
## Responsible Persons
### Proposer: Timo Stollenwerk
### Seconder:
## Abstract
Currently Plone ships with the following listing/search block variants:
<img width="365" alt="Screenshot 2024-05-13 at 15 58 39" src="https://github.com/plone/volto/assets/632105/e456a664-76e3-4a0f-9737-bcc0efa4b113">
Create new listing block variants that show the following content objects:
- page
- news item
- event
- file
in a different way (tbd).
Listing Block Variants:
- List (rename existing variant "Default" to "List") - ID: list
- List with images (rename existing variant "Summary") - ID: list_with_images
- Grid (2 columns) (rename "Grid" to "Grid (2 columns)") - ID: grid_2_columns
- Grid (3 columns) - ID: grid_3_columns
- Grid with images (2 columns) - ID: grid_with_images_2_columns
- Grid with images (3 columns) - ID: grid_with_images_3_columns
Items render based on the content type:
- Page (title, description, image)
- News (title, description, image, effective_date)
- Event (title, description, image, start_date, end_date)
## Motivation
<!--
Reason or motivation this proposal was created
-->
## Assumptions
## Proposal & Implementation
<!--
Detailed proposal with implementation details and - if needed - possible variants to be discussed.
-->
## Deliverables
<!--
Packages and documentation chapters involved, includes also third party if needed.
-->
## Risks
<!--
What will break/ affect existing installations of Plone after upgrade, including end user point of view, training efforts etc.
-->
## Participants
<!--
list of persons and roles known
-->
Showing elements based on criteria in a slider or carousel block is currently not on the agenda, AFAIK. However, this might be a valid use case.
1 Like