Card Carousel
module_card_carousel
The Card Carousel displays pages from a tagged data source using the shared Card element. The Card documentation explains the content shown for each NationBuilder page type, Basic-page ordering, and the layout:redirect override.
This module is activated by tagging a basic page module_card_carousel and a data tag module_card_carousel:XXX. This will pull data from a source page (i.e. news blog or events calendar) that is tagged XXX.
The data source can be a Blog, Calendar, or Basic page:
- Blog sources display the newest Blog Posts first and show up to 10 cards.
- Calendar sources display upcoming Events in event start-time order.
- Basic sources display their published child pages. They use the shared Basic-page card ordering rules.
Add an optional filter:XXX tag to the module page to include only source pages with the matching filter tag.
A common use case is a news or events carousel, where the tagged Blog or Calendar supplies the newest or upcoming pages.
The headline will appear centered at the top-middle of the module.
Cards are rendered underneath the headline in a Flickity carousel.
The module content is displayed below its headline. A “See all” link points to the carousel's source page and carries the active filter into the source page URL when one is configured.