To import multiple news items via a file, it is important that you follow these instructions:
- Use this file as a template, and do not change the first row (the column headers).
- You must upload a CSV file - an Excel file (XLS, XLSX) will not work. If using Excel to edit the above file, be sure to keep it in the CSV format when saving.
- For the "news_type_id" column, there should only be a single number per row:
@foreach ($allTypes as $type)
- {{ $type->id }} for "{{ $type->name }}"
@endforeach
- For "artists" column, there can be multiple per row, separated by commas (no spaces). These are IDs for music artists. The easiest way to get these is to browse to the artist page on the intranet and look in the URL bar of your browser for the ID number.