Skip to content

Releases: distantnative/kirby-csv-field

👩‍💼 1.1.0 – Pam Beesly

21 May 14:20
c465ea6
Compare
Choose a tag to compare

Enhancements

Fixes

  • CSV preview more reliably (re-)loads in the Panel field

🧑‍🏫 1.0.0 – Michael Scott

19 May 10:30
a56f4bb
Compare
Choose a tag to compare

card

Kirby CMS Panel field to upload and display a single CSV file

  • Panel csv field
    • delimiter option
    • limit option for pagination
    • columns options to customize the columns
  • Field method ->toCsv()

Changes since 1.0.0-beta.3

  • Moved pagination and columns computation to the backend for better performance
  • Fixed $csv->columns() for empty CSV
  • Improved Vue component code quality

1.0.0-beta.3

18 May 16:43
8005285
Compare
Choose a tag to compare
1.0.0-beta.3 Pre-release
Pre-release

Enhancements

  • Field method returns new Csv class (slightly enhanced Collection)
<?php if ($csv = $page->myCsvField()->toCsv(';')): ?>
<table>
  <thead>
    <?php foreach ($csv->columns() as $column): ?>
    <th><?= $column ?></th>
    <?php endforeach ?>
  </thead>
  <tbody>
    <?php foreach ($csv->rows() as $row): ?>
    <tr>
      <?php foreach ($row as $cell): ?>
      <td><?= $cell ?></td>
      <?php endforeach ?>
    </tr>
    <?php endforeach ?>
  </tbody>
</table>
<?php endif ?>

1.0.0-beta.2

18 May 15:44
709c146
Compare
Choose a tag to compare
1.0.0-beta.2 Pre-release
Pre-release

Enhancements

  • limit option for pagination of table
  • i18n support for English and German

1.0.0-beta.1

18 May 15:08
7fc9695
Compare
Choose a tag to compare
1.0.0-beta.1 Pre-release
Pre-release

Initial version with

  • Panel field
  • Field method