Managing select boxes

Configuring select options.

In the configuration file, add a pogoselect Array and below that add the key which you want to turn into a select field. Below that, you add the select options.

Let’s look at an example.
In our config.yml, we have the following items:

      - activity
      - blogitem
      - course
      - event
      - galleryitem
      - teacher
      - testimonial

In the markdown of our blog section we define a block the dynamic rendering of a section based layout.

block: blogitem
draft: false

Eventually, this results in the select dropdown in PoppyGo.

Managing select boxes documentation