You can add thumbnails to your page list by following these steps:
In the dashboard, click on Attributes in the Pages & Themes section. Choose Image/File and click on Add to add the new attribute.
Enter
thumbnail
in the Handle field andThumbnail
for the Name field, and click on Add.Go to the sitemap and open the properties for the child page of News:
Activate the Custom Attribute tab.
Select our new attribute Thumbnail from the list in the left-hand side column.
Scroll back to the top and click on Choose File and pick a picture you'd like to use for this page.
Hit Save to confirm the modification to the page.
We've entered all the data, so let's create the new template. You can start by copying the file
concrete\blocks\page_list\view.php
to a new file at the locationblocks\page_list\templates\news.php
, but since we need very little functionality, you could also start with an empty file if you want. You have to create both directories,page_list...