update_collection
Modify collection settings in LightCMS to adjust content display, templates, pagination, and sorting for website content management.
Instructions
Update a collection's settings.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | No | Content category to include | |
| description | No | Collection description | |
| id | Yes | Collection ID (MongoDB ObjectID),required | |
| item_template | No | HTML template for each item | |
| items_per_page | No | Items per page for pagination | |
| name | No | Collection name | |
| page_template | No | HTML template for collection page | |
| slug | No | Collection URL slug | |
| sort_field | No | Field to sort by | |
| sort_order | No | Sort order: asc or desc |