I have a page container folder called CTA-List, and the allowed child types of that folder are of type CTA_item.I am creating a widget, and I want that widget to be able to select one list of the type CTA-List. For instance, if I have a folder and that folder contains two CTA-list page types (CTA-List-1, CTA-List-2) and each CTA-List contains two CTA-Items (CTA-Item-1, CTA-Item-2); I want the widget to be able to choose either CTA-List-1 or CTA-List-2. Then, I would be able to loop through the items in the selected list with their fields.How I might be able to do that?
↧