Forum

Thread tagged as: Question

Dataselect - content not showing

I'm trying to implement the dataselect field type as per the tutorial here: https://solutions.grabaperch.com/templates/how-do-i-reuse-content-in-a-select-list

I can see the drop down on the page admin but theres no options - its just empty.

I guess it can't find the source data, but I'm not sure how to correct this. Any suggestions on what might be a common mistake here?

Christian Thomas

Christian Thomas 0 points

  • 7 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Double check the page path. It should match the path Perch has stored for the page you're getting the content from. This will always be root-relative.

Great - got that working.

Can dataselect be used to display images and links or is it just restricted to text?

Drew McLellan

Drew McLellan 2638 points
Perch Support

It should work with images - you'd get the image path back.