Closed sylvainjule closed 5 years ago
# site/blueprints/*.yml ... columns: example: text: '{{ page.checkboxesValues }}'
Kirby::plugin('my/page-methods', [ 'pageMethods' => [ 'checkboxesValues' => function () { $first = $this->first()->value(); $second = $this->second()->value(); // ... // do something with $first and $second if needed return $first . ' ' . $second; } ] ]);