Good morning everyone,
I’m using following snippet to call a special page from database (datenbank)
<?php
$transitcode = $data->transitcode();
$items = page('datenbank')->children()->filterBy('template', 'document')->filterBy('documentidentifiercode', '*=', $transitcode);
foreach($items as $item): ?>
<?= $item->title()->html() ?>
<?php endforeach ?>
In blueprint there is an form to submit (internaly called) transitcode, it looks like U-02-2010. The snippet above displays than the title of that specific page with code U-02-2010.
Is there a possibility to submit multiple ID-s via transitcode? How should be the code above modified to make that?
I would love to enter in same form something like this (separated with comma and new line):
----
transitcode:
U-02-2010,
U-02-4020,
U-04-6070,
----
the snippet would than call the titles of three pages with transitcode-IDs i submited.