If you would like to customize the card layout for a vertical, you can fork a new card from a built-in Theme card. In other words, you will create a copy of the card that is the closest fit to what you want to use in terms of information displayed and visual format of the card. Then you can customize the data mappings and structure however you like.
To add a new card:
- Click Pages in the navigation bar and click on your desired site.
- Click on the View Code Editor button.
- Hover over the master branch and click on the pencil icon ()
- Click Tools in the top right corner and click Jambo Commands in the drop-down menu.
- Select Add Card.
- Click Continue.
- Enter a name for your card. We recommend you name the card something simple but obvious to other users who may want to make adjustments later on.
- One recommendation is to use the entity type name combined with the word “override”. For example, if you are overriding the
event-standard
card, you could name itevent-override
.
- One recommendation is to use the entity type name combined with the word “override”. For example, if you are overriding the
- Select your desired Template Card Folder from the drop-down menu. You should choose whichever template you think is closest to what you are looking to do. This will help reduce the number of customizations you will need to make. To see a list of all card options and layouts, check out the Built-in Card Types reference doc.
- Click Submit to create a new card.
- Make sure to update the relevant vertical to reference the newly created card.
- Click on the
config
folder. - Click on the
config.json
file for the relevant vertical. - Update the
cardType
property to map to the newly created card’s name. In the above example, you would set"cardType": "event-override",
.
- Click on the
Comments
0 comments
Article is closed for comments.