Discussions
How do I customize the display of dynamically selected data in a Liquid template's settings?
I have section configuration as below. In `type: select` attributes options I want to get data from `content_type` **nav_items** instead of setting data static.
**related_service.liquid**
```
---
name: Related Services
icon: default
keep_icon: true
settings:
- label: "Navigation items (Click button for choose list services of mega menu)"
id: nav_items
type: content_type
blocks_label: Related Services
blocks:
- name: Related Services
type: service_related_detail
settings:
- label: Related server
id: related_services
type: select
options:
/// I want get list from model nav_items
required: true
default:
settings:
title: Related Services
presets:
- name: Related Services
category: Services Info Page
settings:
title: Related Services
blocks: []
---
```
Posted by Phuong Nguyen 11 months ago
Single content entry in edit section control
Hello, i would like to implement section view based on some content entries that need to be selected from edit section panel. In documentation described definition of section with content_type field, but it only create a link to content_type page. Is any way to select one entry from box, or i need to implement this functionality by myself ? Thanks for your answer.
Posted by Igor over 1 year ago