The Personalised Cards paragraph allows you to create a paragraph that shows content that is personalised to the logged-in user.
This is mainly useful to display tailored content to the user based on their needs.
In preparation for using this paragraph
There should be a vocabulary in the Drupal content type which can be used as a content filter
There should be a custom field in CiviCRM to capture a users category.
Having the above allows for content which is related to the users categorisation to be displayed on the page.
For example:
A news article could have an 'Area of interest' categorisation.
A user in CiviCRM could have a custom field which collects their 'Interested in' area's.
The paragraph can be configured to display 'News' content which has an 'Area of interest' term that matches with the CiviCRM user's 'Interested in' choices.
If the personalised cards to be displayed would not fill the selected amount of rows in the paragraph settings then the remaining news cards outside of the personalisation will be shown in the order of created date - most recent first.
Fields that exist on this paragraph type are:
* = Required
Title - Text field
Style - Dropdown, options
3 cards per row
4 cards per row
Number of rows - Text field
Content type - Dropdown *, default options:
News
Events
Past events
Resource
Opportunities
Filter by - Autocomplete
Type in the taxonomy terms to filter your 'Collection' by.
Select Content Queue - Dropdown
default value - Do not use a queue, pick latest
"View all" link title - Text field *
The layout and background of the paragraph can be configured with the additional fields:
Background image - Image upload
Background colour - Dropdown
The background colour can be selected from the core brand colours defined in the theme variables.
Width - Dropdown
Default options - Narrow/Medium/Wide/Full/Full bleed
Top margin - Dropdown
Default options - Auto/96/48/32/16/8/0px
Bottom margin - Dropdown
Default options - Auto/96/48/32/16/8/0px
Example of the Personalised cards paragraph
3 cards per row and filtered by a personalised relationship
Example of the Collections cards paragraph form